Skip to content

Commit 232f32f

Browse files
committed
[DSE] eliminateDeadStoresMemorySSA - fix "initialization is never read" clang-tidy warning. NFCI.
1 parent 1253009 commit 232f32f

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

llvm/lib/Transforms/Scalar/DeadStoreElimination.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2504,7 +2504,7 @@ bool eliminateDeadStoresMemorySSA(Function &F, AliasAnalysis &AA,
25042504

25052505
MemoryAccess *Current = KillingDef;
25062506
LLVM_DEBUG(dbgs() << "Trying to eliminate MemoryDefs killed by "
2507-
<< *KillingDef << " (" << *SI << ")\n");
2507+
<< *Current << " (" << *SI << ")\n");
25082508

25092509
unsigned ScanLimit = MemorySSAScanLimit;
25102510
unsigned WalkerStepLimit = MemorySSAUpwardsStepLimit;

0 commit comments

Comments
 (0)