[PATCH] R600/SI: Set mayStore = 0 on SMRD instructions

Matt Arsenault Matthew.Arsenault at amd.com
Mon Jul 28 16:17:51 PDT 2014


Also enable named operand table for SMRD

http://reviews.llvm.org/D4700

Files:
  lib/Target/R600/SIInstrFormats.td

Index: lib/Target/R600/SIInstrFormats.td
===================================================================
--- lib/Target/R600/SIInstrFormats.td
+++ lib/Target/R600/SIInstrFormats.td
@@ -185,6 +185,9 @@
 
   let LGKM_CNT = 1;
   let SMRD = 1;
+  let mayStore = 0;
+  let mayLoad = 1;
+  let UseNamedOperandTable = 1;
 }
 
 //===----------------------------------------------------------------------===//
-------------- next part --------------
A non-text attachment was scrubbed...
Name: D4700.11962.patch
Type: text/x-patch
Size: 406 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20140728/62a4040f/attachment.bin>


More information about the llvm-commits mailing list