mirror of
https://github.com/c64scene-ar/llvm-6502.git
synced 2025-07-24 22:24:54 +00:00
MIR Serialization: Serialize the metadata machine operands.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@242916 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
@@ -453,6 +453,9 @@ void MIPrinter::print(const MachineOperand &Op, const TargetRegisterInfo *TRI) {
|
||||
llvm_unreachable("Can't print this machine register mask yet.");
|
||||
break;
|
||||
}
|
||||
case MachineOperand::MO_Metadata:
|
||||
Op.getMetadata()->printAsOperand(OS, MST);
|
||||
break;
|
||||
case MachineOperand::MO_CFIIndex: {
|
||||
const auto &MMI = Op.getParent()->getParent()->getParent()->getMMI();
|
||||
print(MMI.getFrameInstructions()[Op.getCFIIndex()]);
|
||||
|
Reference in New Issue
Block a user