Skip to content

Commit 9b47d56

Browse files
committed
Prune "pgocount"
1 parent 7a46d83 commit 9b47d56

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

llvm/lib/Transforms/Instrumentation/InstrProfiling.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -986,7 +986,7 @@ void InstrLowerer::lowerIncrement(InstrProfIncrementInst *Inc) {
986986
MaybeAlign(), AtomicOrdering::Monotonic);
987987
} else {
988988
Value *IncStep = Inc->getStep();
989-
Value *Load = Builder.CreateLoad(IncStep->getType(), Addr, "pgocount");
989+
Value *Load = Builder.CreateLoad(IncStep->getType(), Addr);
990990
auto *Count = Builder.CreateAdd(Load, Inc->getStep());
991991
auto *Store = Builder.CreateStore(Count, Addr);
992992
if (isCounterPromotionEnabled())

0 commit comments

Comments
 (0)