projects
/
oota-llvm.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
MIR Serialization: Serialize the memory operand's noalias metadata node.
[oota-llvm.git]
/
lib
/
CodeGen
/
MIRPrinter.cpp
diff --git
a/lib/CodeGen/MIRPrinter.cpp
b/lib/CodeGen/MIRPrinter.cpp
index 6be8205f65e05e523d0ff1627a0a1e5ddbf7eef4..aa3031657cd59c74bf28c7ad4a05795623aeffeb 100644
(file)
--- a/
lib/CodeGen/MIRPrinter.cpp
+++ b/
lib/CodeGen/MIRPrinter.cpp
@@
-786,7
+786,10
@@
void MIPrinter::print(const MachineMemOperand &Op) {
OS << ", !alias.scope ";
AAInfo.Scope->printAsOperand(OS, MST);
}
- // TODO: Print AA NoAlias metadata.
+ if (AAInfo.NoAlias) {
+ OS << ", !noalias ";
+ AAInfo.NoAlias->printAsOperand(OS, MST);
+ }
// TODO: Print the ranges metadata.
OS << ')';
}