[llvm] r240813 - Show invariant loads in MMO dumping
Matt Arsenault
Matthew.Arsenault at amd.com
Fri Jun 26 12:00:12 PDT 2015
Author: arsenm
Date: Fri Jun 26 14:00:11 2015
New Revision: 240813
URL: http://llvm.org/viewvc/llvm-project?rev=240813&view=rev
Log:
Show invariant loads in MMO dumping
Modified:
llvm/trunk/lib/CodeGen/MachineInstr.cpp
Modified: llvm/trunk/lib/CodeGen/MachineInstr.cpp
URL: http://llvm.org/viewvc/llvm-project/llvm/trunk/lib/CodeGen/MachineInstr.cpp?rev=240813&r1=240812&r2=240813&view=diff
==============================================================================
--- llvm/trunk/lib/CodeGen/MachineInstr.cpp (original)
+++ llvm/trunk/lib/CodeGen/MachineInstr.cpp Fri Jun 26 14:00:11 2015
@@ -588,6 +588,9 @@ raw_ostream &llvm::operator<<(raw_ostrea
if (MMO.isNonTemporal())
OS << "(nontemporal)";
+ if (MMO.isInvariant())
+ OS << "(invariant)";
+
return OS;
}
More information about the llvm-commits
mailing list