R600/SI: Fix pattern variable names.
authorMatt Arsenault <Matthew.Arsenault@amd.com>
Thu, 29 May 2014 01:18:01 +0000 (01:18 +0000)
committerMatt Arsenault <Matthew.Arsenault@amd.com>
Thu, 29 May 2014 01:18:01 +0000 (01:18 +0000)
These are confusing enough since the order swaps,
so give them more useful names.

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

lib/Target/R600/SIInstructions.td

index 500fa7894c29d50e69436ad1afa7c21c40b51951..e64a1b548ea9ca2097a094443d175ca783f583dc 100644 (file)
@@ -2139,8 +2139,8 @@ multiclass DSWritePat <DS inst, ValueType vt, PatFrag frag> {
   >;
 
   def : Pat <
-    (frag vt:$src1, i32:$src0),
-    (inst 0, $src0, $src1, 0)
+    (frag vt:$val, i32:$ptr),
+    (inst 0, $ptr, $val, 0)
   >;
 }