Show invariant loads in MMO dumping

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@240813 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
Matt Arsenault 2015-06-26 19:00:11 +00:00
parent b0e21d44cb
commit 57b2119961

View File

@ -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;
}