commit | eb62568625981cb12c83784a99c54cdfcb4d5d81 | [log] [tgz] |
---|---|---|
author | Alex Lorenz <arphaman@gmail.com> | Mon Aug 17 22:09:52 2015 +0000 |
committer | Alex Lorenz <arphaman@gmail.com> | Mon Aug 17 22:09:52 2015 +0000 |
tree | 0db99f348f057a4606f03e43316b05b168525d4e | |
parent | 03e940d1f8f263d27275e9a554639bc9b5f88050 [diff] [blame] |
MIR Serialization: Serialize the memory operand's range metadata node. llvm-svn: 245247
diff --git a/llvm/lib/CodeGen/MIRPrinter.cpp b/llvm/lib/CodeGen/MIRPrinter.cpp index aa30316..6c8acb5 100644 --- a/llvm/lib/CodeGen/MIRPrinter.cpp +++ b/llvm/lib/CodeGen/MIRPrinter.cpp
@@ -790,7 +790,10 @@ OS << ", !noalias "; AAInfo.NoAlias->printAsOperand(OS, MST); } - // TODO: Print the ranges metadata. + if (Op.getRanges()) { + OS << ", !range "; + Op.getRanges()->printAsOperand(OS, MST); + } OS << ')'; }