MIR Serialization: Serialize the offsets for the machine memory operands.
llvm-svn: 244356
diff --git a/llvm/lib/CodeGen/MIRPrinter.cpp b/llvm/lib/CodeGen/MIRPrinter.cpp
index e162a8f..4710f16 100644
--- a/llvm/lib/CodeGen/MIRPrinter.cpp
+++ b/llvm/lib/CodeGen/MIRPrinter.cpp
@@ -678,6 +678,7 @@
if (const Value *Val = Op.getValue())
printIRValueReference(*Val);
// TODO: Print PseudoSourceValue.
+ printOffset(Op.getOffset());
// TODO: Print the base alignment.
// TODO: Print the metadata attributes.
OS << ')';