MIR Serialization: Serialize the fixed stack pseudo source values.
llvm-svn: 244816
diff --git a/llvm/lib/CodeGen/MIRPrinter.cpp b/llvm/lib/CodeGen/MIRPrinter.cpp
index 367626a..24b895c 100644
--- a/llvm/lib/CodeGen/MIRPrinter.cpp
+++ b/llvm/lib/CodeGen/MIRPrinter.cpp
@@ -722,6 +722,10 @@
case PseudoSourceValue::ConstantPool:
OS << "constant-pool";
break;
+ case PseudoSourceValue::FixedStack:
+ printStackObjectReference(
+ cast<FixedStackPseudoSourceValue>(PVal)->getFrameIndex());
+ break;
default:
// TODO: Print the other pseudo source values.
OS << "<unserializable pseudo value>";