mirror of
https://github.com/RPCS3/llvm-mirror.git
synced 2024-11-23 11:13:28 +01:00
GlobalISel: Improve dead instruction debug printing
This was printing the "Is dead" on a separate line from the instruction, which was harder to follow.
This commit is contained in:
parent
7af9eb8150
commit
a801d01966
@ -284,7 +284,7 @@ Legalizer::legalizeMachineFunction(MachineFunction &MF, const LegalizerInfo &LI,
|
||||
WrapperObserver)) {
|
||||
WorkListObserver.printNewInstrs();
|
||||
for (auto *DeadMI : DeadInstructions) {
|
||||
LLVM_DEBUG(dbgs() << *DeadMI << "Is dead\n");
|
||||
LLVM_DEBUG(dbgs() << "Is dead: " << *DeadMI);
|
||||
RemoveDeadInstFromLists(DeadMI);
|
||||
DeadMI->eraseFromParentAndMarkDBGValuesForRemoval();
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user