mirror of
https://github.com/RPCS3/llvm-mirror.git
synced 2025-02-04 03:06:28 +00:00
[Reassociate] Add additional debug output. NFC.
llvm-svn: 280090
This commit is contained in:
parent
0be0197c94
commit
a507852652
@ -1863,6 +1863,8 @@ void ReassociatePass::RecursivelyEraseDeadInsts(
|
||||
/// Zap the given instruction, adding interesting operands to the work list.
|
||||
void ReassociatePass::EraseInst(Instruction *I) {
|
||||
assert(isInstructionTriviallyDead(I) && "Trivially dead instructions only!");
|
||||
DEBUG(dbgs() << "Erasing dead inst: "; I->dump());
|
||||
|
||||
SmallVector<Value*, 8> Ops(I->op_begin(), I->op_end());
|
||||
// Erase the dead instruction.
|
||||
ValueRankMap.erase(I);
|
||||
|
Loading…
x
Reference in New Issue
Block a user