Skip to content

Commit 82b5bda

Browse files
committed
[VectorCombine] Add "VC: Erasing" debug message to help the log show when dead WorkList instructions are erased.
1 parent e3157d3 commit 82b5bda

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

llvm/lib/Transforms/Vectorize/VectorCombine.cpp

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -138,6 +138,7 @@ class VectorCombine {
138138
}
139139

140140
void eraseInstruction(Instruction &I) {
141+
LLVM_DEBUG(dbgs() << "VC: Erasing: " << I << '\n');
141142
for (Value *Op : I.operands())
142143
Worklist.pushValue(Op);
143144
Worklist.remove(&I);

0 commit comments

Comments
 (0)