diff options
author | Alex Lorenz <arphaman@gmail.com> | 2015-08-17 22:09:52 +0000 |
---|---|---|
committer | Alex Lorenz <arphaman@gmail.com> | 2015-08-17 22:09:52 +0000 |
commit | eb62568625981cb12c83784a99c54cdfcb4d5d81 (patch) | |
tree | 0db99f348f057a4606f03e43316b05b168525d4e /llvm/lib/CodeGen/MIRPrinter.cpp | |
parent | 03e940d1f8f263d27275e9a554639bc9b5f88050 (diff) | |
download | bcm5719-llvm-eb62568625981cb12c83784a99c54cdfcb4d5d81.tar.gz bcm5719-llvm-eb62568625981cb12c83784a99c54cdfcb4d5d81.zip |
MIR Serialization: Serialize the memory operand's range metadata node.
llvm-svn: 245247
Diffstat (limited to 'llvm/lib/CodeGen/MIRPrinter.cpp')
-rw-r--r-- | llvm/lib/CodeGen/MIRPrinter.cpp | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/llvm/lib/CodeGen/MIRPrinter.cpp b/llvm/lib/CodeGen/MIRPrinter.cpp index aa3031657cd..6c8acb531da 100644 --- a/llvm/lib/CodeGen/MIRPrinter.cpp +++ b/llvm/lib/CodeGen/MIRPrinter.cpp @@ -790,7 +790,10 @@ void MIPrinter::print(const MachineMemOperand &Op) { OS << ", !noalias "; AAInfo.NoAlias->printAsOperand(OS, MST); } - // TODO: Print the ranges metadata. + if (Op.getRanges()) { + OS << ", !range "; + Op.getRanges()->printAsOperand(OS, MST); + } OS << ')'; } |