R600/SI: Fix error from vdst on no return atomics
authorMatt Arsenault <Matthew.Arsenault@amd.com>
Wed, 18 Feb 2015 02:10:35 +0000 (02:10 +0000)
committerMatt Arsenault <Matthew.Arsenault@amd.com>
Wed, 18 Feb 2015 02:10:35 +0000 (02:10 +0000)
Set the ignored field to 0 so we can enable
noNamedPositionallyEncodedOperands.

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@229606 91177308-0d34-0410-b5e6-96231b3b80d8

lib/Target/R600/SIInstrInfo.td

index a402616855cd8553cac1ffe8743dff5faf775230..5e68cb25709aec3884c91775f1f8def6bafd44eb 100644 (file)
@@ -1566,8 +1566,10 @@ multiclass DS_1A2D_NORET_m <bits<8> op, string opName, dag outs, dag ins,
     def "" : DS_Pseudo <opName, outs, ins, pat>,
              AtomicNoRet<noRetOp, 0>;
 
-    def _si : DS_1A_Real_si <op, opName, outs, ins, asm>;
-    def _vi : DS_1A_Real_vi <op, opName, outs, ins, asm>;
+    let vdst = 0 in {
+      def _si : DS_1A_Real_si <op, opName, outs, ins, asm>;
+      def _vi : DS_1A_Real_vi <op, opName, outs, ins, asm>;
+    }
   }
 }
 
@@ -1586,7 +1588,7 @@ multiclass DS_1A1D_NORET_m <bits<8> op, string opName, dag outs, dag ins,
     def "" : DS_Pseudo <opName, outs, ins, pat>,
              AtomicNoRet<noRetOp, 0>;
 
-    let data1 = 0 in {
+    let data1 = 0, vdst = 0 in {
       def _si : DS_1A_Real_si <op, opName, outs, ins, asm>;
       def _vi : DS_1A_Real_vi <op, opName, outs, ins, asm>;
     }