diff --git a/lib/Target/R600/SIInstructions.td b/lib/Target/R600/SIInstructions.td index 097ce59bb6e..a2c3454920f 100644 --- a/lib/Target/R600/SIInstructions.td +++ b/lib/Target/R600/SIInstructions.td @@ -1988,47 +1988,11 @@ defm : RsqPat; // VOP2 Patterns //===----------------------------------------------------------------------===// -class BinOp64Pat : Pat < - (node i64:$src0, i64:$src1), - (INSERT_SUBREG (INSERT_SUBREG (i64 (IMPLICIT_DEF)), - (inst (EXTRACT_SUBREG i64:$src0, sub0), - (EXTRACT_SUBREG i64:$src1, sub0)), sub0), - (inst (EXTRACT_SUBREG i64:$src0, sub1), - (EXTRACT_SUBREG i64:$src1, sub1)), sub1) ->; - -def : BinOp64Pat ; -def : BinOp64Pat ; -def : BinOp64Pat ; - -class SextInReg : Pat < - (sext_inreg i32:$src0, vt), - (V_ASHRREV_I32_e32 ShiftAmt, (V_LSHLREV_B32_e32 ShiftAmt, $src0)) ->; - -def : SextInReg ; -def : SextInReg ; - def : Pat < (i32 (add (i32 (ctpop i32:$popcnt)), i32:$val)), (V_BCNT_U32_B32_e64 $popcnt, $val) >; -def : Pat < - (i32 (ctpop i32:$popcnt)), - (V_BCNT_U32_B32_e64 $popcnt, 0) ->; - -def : Pat < - (i64 (ctpop i64:$src)), - (INSERT_SUBREG - (INSERT_SUBREG (i64 (IMPLICIT_DEF)), - (V_BCNT_U32_B32_e32 (EXTRACT_SUBREG $src, sub1), - (V_BCNT_U32_B32_e64 (EXTRACT_SUBREG $src, sub0), 0)), - sub0), - (V_MOV_B32_e32 0), sub1) ->; - def : Pat < (addc i32:$src0, i32:$src1), (V_ADD_I32_e64 $src0, $src1) @@ -2599,11 +2563,6 @@ def : Pat < 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)