summaryrefslogtreecommitdiff
path: root/lib/CodeGen/MachineInstr.cpp
diff options
context:
space:
mode:
authorBill Wendling <isanbard@gmail.com>2011-04-29 23:45:22 +0000
committerBill Wendling <isanbard@gmail.com>2011-04-29 23:45:22 +0000
commitd65ba721cccb0d0998750908bf2533e08b106f38 (patch)
treebfe8b1be9be055ace8bb46578cfc41712e409590 /lib/CodeGen/MachineInstr.cpp
parentb2b03fc2fa87cb5604dd8ec2e8476d051186cdb3 (diff)
downloadllvm-d65ba721cccb0d0998750908bf2533e08b106f38.tar.gz
llvm-d65ba721cccb0d0998750908bf2533e08b106f38.tar.bz2
llvm-d65ba721cccb0d0998750908bf2533e08b106f38.tar.xz
Print out the 'nontemporal' info on a store.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@130562 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'lib/CodeGen/MachineInstr.cpp')
-rw-r--r--lib/CodeGen/MachineInstr.cpp4
1 files changed, 4 insertions, 0 deletions
diff --git a/lib/CodeGen/MachineInstr.cpp b/lib/CodeGen/MachineInstr.cpp
index 0d137ebba2..71df6f8b77 100644
--- a/lib/CodeGen/MachineInstr.cpp
+++ b/lib/CodeGen/MachineInstr.cpp
@@ -441,6 +441,10 @@ raw_ostream &llvm::operator<<(raw_ostream &OS, const MachineMemOperand &MMO) {
OS << ")";
}
+ // Print nontemporal info.
+ if (MMO.isNonTemporal())
+ OS << "(nontemporal)";
+
return OS;
}