mirror of
https://github.com/c64scene-ar/llvm-6502.git
synced 2024-12-13 20:32:21 +00:00
Print <dead> def operands.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@34343 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
parent
9fc508fdc4
commit
bdf44b929f
@ -263,6 +263,8 @@ void MachineInstr::print(std::ostream &OS, const TargetMachine *TM) const {
|
||||
// Specialize printing if op#0 is definition
|
||||
if (getNumOperands() && getOperand(0).isReg() && getOperand(0).isDef()) {
|
||||
::print(getOperand(0), OS, TM);
|
||||
if (getOperand(0).isDead())
|
||||
OS << "<dead>";
|
||||
OS << " = ";
|
||||
++StartOp; // Don't print this operand again!
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user