diff options
author | Alex Lorenz <arphaman@gmail.com> | 2015-08-17 22:06:40 +0000 |
---|---|---|
committer | Alex Lorenz <arphaman@gmail.com> | 2015-08-17 22:06:40 +0000 |
commit | a16f624dc3a066e57a424106336a3de6b3962703 (patch) | |
tree | edae5912d6ab8b31c283941c72831805c252db07 /llvm/lib/CodeGen/MIRPrinter.cpp | |
parent | a617c9162dcc23e1b974c7e30509ef4e303fce33 (diff) | |
download | bcm5719-llvm-a16f624dc3a066e57a424106336a3de6b3962703.tar.gz bcm5719-llvm-a16f624dc3a066e57a424106336a3de6b3962703.zip |
MIR Serialization: Serialize the memory operand's alias scope metadata node.
llvm-svn: 245245
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 b7292f3e151..6be8205f65e 100644 --- a/llvm/lib/CodeGen/MIRPrinter.cpp +++ b/llvm/lib/CodeGen/MIRPrinter.cpp @@ -782,7 +782,10 @@ void MIPrinter::print(const MachineMemOperand &Op) { OS << ", !tbaa "; AAInfo.TBAA->printAsOperand(OS, MST); } - // TODO: Print AA Scope metadata. + if (AAInfo.Scope) { + OS << ", !alias.scope "; + AAInfo.Scope->printAsOperand(OS, MST); + } // TODO: Print AA NoAlias metadata. // TODO: Print the ranges metadata. OS << ')'; |