mirror of
https://github.com/RPCS3/llvm-mirror.git
synced 2025-02-02 10:21:54 +00:00
Print <dead> def operands.
llvm-svn: 34343
This commit is contained in:
parent
64185104f1
commit
5b8b96e9de
@ -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…
x
Reference in New Issue
Block a user