diff options
author | Alex Lorenz <arphaman@gmail.com> | 2015-08-14 21:08:30 +0000 |
---|---|---|
committer | Alex Lorenz <arphaman@gmail.com> | 2015-08-14 21:08:30 +0000 |
commit | 50b826fb7503be5e9eafbd11569c195f5e307108 (patch) | |
tree | 2bdd050184831f19866e4bfeda501b3083b2fd6a /llvm/lib/CodeGen/MIRPrinter.cpp | |
parent | e5d74caf2a5826ba2fcf3449554b5d03b24c6cf1 (diff) | |
download | bcm5719-llvm-50b826fb7503be5e9eafbd11569c195f5e307108.tar.gz bcm5719-llvm-50b826fb7503be5e9eafbd11569c195f5e307108.zip |
MIR Serialization: Serialize the global value call entry pseudo source values.
llvm-svn: 245097
Diffstat (limited to 'llvm/lib/CodeGen/MIRPrinter.cpp')
-rw-r--r-- | llvm/lib/CodeGen/MIRPrinter.cpp | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/llvm/lib/CodeGen/MIRPrinter.cpp b/llvm/lib/CodeGen/MIRPrinter.cpp index 957cb20eace..7e546eb845f 100644 --- a/llvm/lib/CodeGen/MIRPrinter.cpp +++ b/llvm/lib/CodeGen/MIRPrinter.cpp @@ -763,6 +763,10 @@ void MIPrinter::print(const MachineMemOperand &Op) { printStackObjectReference( cast<FixedStackPseudoSourceValue>(PVal)->getFrameIndex()); break; + case PseudoSourceValue::GlobalValueCallEntry: + cast<GlobalValuePseudoSourceValue>(PVal)->getValue()->printAsOperand( + OS, /*PrintType=*/false, MST); + break; default: // TODO: Print the other pseudo source values. OS << "<unserializable pseudo value>"; |