[PATCH] Show invariant lods in MMO dumping

Matt Arsenault Matthew.Arsenault at amd.com
Thu Jun 25 14:32:28 PDT 2015


http://reviews.llvm.org/D10748

Files:
  lib/CodeGen/MachineInstr.cpp

Index: lib/CodeGen/MachineInstr.cpp
===================================================================
--- lib/CodeGen/MachineInstr.cpp
+++ lib/CodeGen/MachineInstr.cpp
@@ -588,6 +588,9 @@
   if (MMO.isNonTemporal())
     OS << "(nontemporal)";
 
+  if (MMO.isInvariant())
+    OS << "(invariant)";
+
   return OS;
 }

EMAIL PREFERENCES
  http://reviews.llvm.org/settings/panel/emailpreferences/
-------------- next part --------------
A non-text attachment was scrubbed...
Name: D10748.28503.patch
Type: text/x-patch
Size: 321 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20150625/ab13f704/attachment.bin>


More information about the llvm-commits mailing list