We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 7a46d83 commit 9b47d56Copy full SHA for 9b47d56
llvm/lib/Transforms/Instrumentation/InstrProfiling.cpp
@@ -986,7 +986,7 @@ void InstrLowerer::lowerIncrement(InstrProfIncrementInst *Inc) {
986
MaybeAlign(), AtomicOrdering::Monotonic);
987
} else {
988
Value *IncStep = Inc->getStep();
989
- Value *Load = Builder.CreateLoad(IncStep->getType(), Addr, "pgocount");
+ Value *Load = Builder.CreateLoad(IncStep->getType(), Addr);
990
auto *Count = Builder.CreateAdd(Load, Inc->getStep());
991
auto *Store = Builder.CreateStore(Count, Addr);
992
if (isCounterPromotionEnabled())
0 commit comments