projects
/
oota-llvm.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
b0e21d4
)
Show invariant loads in MMO dumping
author
Matt Arsenault
<Matthew.Arsenault@amd.com>
Fri, 26 Jun 2015 19:00:11 +0000
(19:00 +0000)
committer
Matt Arsenault
<Matthew.Arsenault@amd.com>
Fri, 26 Jun 2015 19:00:11 +0000
(19:00 +0000)
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@240813
91177308
-0d34-0410-b5e6-
96231b3b80d8
lib/CodeGen/MachineInstr.cpp
patch
|
blob
|
history
diff --git
a/lib/CodeGen/MachineInstr.cpp
b/lib/CodeGen/MachineInstr.cpp
index 19ba5cfd34b07e23e515bbf3d4c355a0cc10fcf3..88cc14bcee84dcda8a2d5a67c5798290b71aaabd 100644
(file)
--- a/
lib/CodeGen/MachineInstr.cpp
+++ b/
lib/CodeGen/MachineInstr.cpp
@@
-588,6
+588,9
@@
raw_ostream &llvm::operator<<(raw_ostream &OS, const MachineMemOperand &MMO) {
if (MMO.isNonTemporal())
OS << "(nontemporal)";
+ if (MMO.isInvariant())
+ OS << "(invariant)";
+
return OS;
}