Skip to content
This repository was archived by the owner on Mar 28, 2020. It is now read-only.

Commit 2a7897d

Browse files
author
Chad Rosier
committed
[Reassociate] Add additional debug output. NFC.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@280090 91177308-0d34-0410-b5e6-96231b3b80d8
1 parent 84ea382 commit 2a7897d

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

lib/Transforms/Scalar/Reassociate.cpp

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1863,6 +1863,8 @@ void ReassociatePass::RecursivelyEraseDeadInsts(
18631863
/// Zap the given instruction, adding interesting operands to the work list.
18641864
void ReassociatePass::EraseInst(Instruction *I) {
18651865
assert(isInstructionTriviallyDead(I) && "Trivially dead instructions only!");
1866+
DEBUG(dbgs() << "Erasing dead inst: "; I->dump());
1867+
18661868
SmallVector<Value*, 8> Ops(I->op_begin(), I->op_end());
18671869
// Erase the dead instruction.
18681870
ValueRankMap.erase(I);

0 commit comments

Comments
 (0)