mirror of
https://github.com/c64scene-ar/llvm-6502.git
synced 2025-07-18 10:24:45 +00:00
MIR Serialization: Serialize the 'dead' register machine operand flag.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@241624 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
@@ -214,6 +214,8 @@ void MIPrinter::print(const MachineOperand &Op, const TargetRegisterInfo *TRI) {
|
||||
// TODO: Print the other register flags.
|
||||
if (Op.isImplicit())
|
||||
OS << (Op.isDef() ? "implicit-def " : "implicit ");
|
||||
if (Op.isDead())
|
||||
OS << "dead ";
|
||||
printReg(Op.getReg(), OS, TRI);
|
||||
// TODO: Print sub register.
|
||||
break;
|
||||
|
Reference in New Issue
Block a user