From: Matt Arsenault Date: Wed, 3 Sep 2014 23:28:57 +0000 (+0000) Subject: R600/SI: Un-move pattern I forgot to remove in last commit X-Git-Tag: android-x86-7.1-r4~57841 X-Git-Url: http://git.osdn.net/view?a=commitdiff_plain;h=fa2e31c394ed1728ea0823268e40afc41a2b3e8a;p=android-x86%2Fexternal-llvm.git R600/SI: Un-move pattern I forgot to remove in last commit git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@217109 91177308-0d34-0410-b5e6-96231b3b80d8 --- diff --git a/lib/Target/R600/SIInstructions.td b/lib/Target/R600/SIInstructions.td index 612f9534520..f091c272379 100644 --- a/lib/Target/R600/SIInstructions.td +++ b/lib/Target/R600/SIInstructions.td @@ -2504,6 +2504,11 @@ def : IMad24Pat; def : UMad24Pat; 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;