[llvm] r217109 - R600/SI: Un-move pattern I forgot to remove in last commit

Matt Arsenault Matthew.Arsenault at amd.com
Wed Sep 3 16:28:57 PDT 2014


Author: arsenm
Date: Wed Sep  3 18:28:57 2014
New Revision: 217109

URL: http://llvm.org/viewvc/llvm-project?rev=217109&view=rev
Log:
R600/SI: Un-move pattern I forgot to remove in last commit

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=217109&r1=217108&r2=217109&view=diff
==============================================================================
--- llvm/trunk/lib/Target/R600/SIInstructions.td (original)
+++ llvm/trunk/lib/Target/R600/SIInstructions.td Wed Sep  3 18:28:57 2014
@@ -2504,6 +2504,11 @@ def : IMad24Pat<V_MAD_I32_I24>;
 def : UMad24Pat<V_MAD_U32_U24>;
 
 def : Pat <
+  (mul i32:$src0, i32:$src1),
+  (V_MUL_LO_I32 $src0, $src1)
+>;
+
+def : Pat <
   (mulhu i32:$src0, i32:$src1),
   (V_MUL_HI_U32 $src0, $src1)
 >;
@@ -2513,11 +2518,6 @@ def : Pat <
   (V_MUL_HI_I32 $src0, $src1)
 >;
 
-def : Pat <
-  (mul i32:$src0, i32:$src1),
-  (V_MUL_LO_I32 $src0, $src1)
->;
-
 def : Vop3ModPat<V_MAD_F32, VOP_F32_F32_F32_F32, AMDGPUmad>;
 
 





More information about the llvm-commits mailing list