[ICP] Fix warnings
This patch fixes:
llvm/lib/Transforms/Instrumentation/IndirectCallPromotion.cpp:845:12:
error: variable 'RemainingVTableCount' set but not used
[-Werror,-Wunused-but-set-variable]
llvm/lib/Transforms/Instrumentation/IndirectCallPromotion.cpp:306:23:
error: private field 'PSI' is not used
[-Werror,-Wunused-private-field]
Here are a couple of domino effects:
- Once I remove PSI, I need to update the contructor and its caller.
- Once I remove RemainingVTableCount, I don't need TotalCount, so I am
updating the caller as well.