summaryrefslogtreecommitdiffstats
path: root/llvm/lib/CodeGen/MIRPrinter.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'llvm/lib/CodeGen/MIRPrinter.cpp')
-rw-r--r--llvm/lib/CodeGen/MIRPrinter.cpp5
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 << ')';
OpenPOWER on IntegriCloud