[llvm] r209787 - R600/SI: Fix pattern variable names.

Matt Arsenault Matthew.Arsenault at amd.com
Wed May 28 18:18:01 PDT 2014


Author: arsenm
Date: Wed May 28 20:18:01 2014
New Revision: 209787

URL: http://llvm.org/viewvc/llvm-project?rev=209787&view=rev
Log:
R600/SI: Fix pattern variable names.

These are confusing enough since the order swaps,
so give them more useful names.

Modified:
    llvm/trunk/lib/Target/R600/SIInstructions.td

Modified: llvm/trunk/lib/Target/R600/SIInstructions.td
URL: http://llvm.org/viewvc/llvm-project/llvm/trunk/lib/Target/R600/SIInstructions.td?rev=209787&r1=209786&r2=209787&view=diff
==============================================================================
--- llvm/trunk/lib/Target/R600/SIInstructions.td (original)
+++ llvm/trunk/lib/Target/R600/SIInstructions.td Wed May 28 20:18:01 2014
@@ -2139,8 +2139,8 @@ multiclass DSWritePat <DS inst, ValueTyp
   >;
 
   def : Pat <
-    (frag vt:$src1, i32:$src0),
-    (inst 0, $src0, $src1, 0)
+    (frag vt:$val, i32:$ptr),
+    (inst 0, $ptr, $val, 0)
   >;
 }
 





More information about the llvm-commits mailing list