@@ -605,13 +605,6 @@ class SVE_2_Op_Fp_Imm_Pat_Zero<ValueType vt, SDPatternOperator op,
605
605
(vt (splat_vector (it immL))))),
606
606
(inst $Pg, $Zs1, imm)>;
607
607
608
- // Used to re-order the operands of BSP when lowering to BSL. BSP has the order:
609
- // mask, in1, in2 whereas BSL for SVE2 has them ordered in1, in2, mask
610
- class SVE_3_Op_BSP_Pat<ValueType vtd, SDPatternOperator op, ValueType vt1,
611
- ValueType vt2, ValueType vt3, Instruction inst>
612
- : Pat<(vtd (op vt1:$Op1, vt2:$Op2, vt3:$Op3)),
613
- (inst $Op2, $Op3, $Op1)>;
614
-
615
608
class SVE_Shift_Add_All_Active_Pat<ValueType vtd, SDPatternOperator op, ValueType pt,
616
609
ValueType vt1, ValueType vt2, ValueType vt3,
617
610
Instruction inst>
@@ -4922,8 +4915,8 @@ class sve2_int_bitwise_ternary_op_d<bits<3> opc, string asm>
4922
4915
let hasSideEffects = 0;
4923
4916
}
4924
4917
4925
- multiclass sve2_int_bitwise_ternary_op<bits<3> opc, string asm, SDPatternOperator op,
4926
- SDPatternOperator ir_op = null_frag > {
4918
+ multiclass sve2_int_bitwise_ternary_op<bits<3> opc, string asm,
4919
+ SDPatternOperator op > {
4927
4920
def NAME : sve2_int_bitwise_ternary_op_d<opc, asm>;
4928
4921
4929
4922
def : InstAlias<asm # "\t$Zdn, $Zdn, $Zm, $Zk",
@@ -4937,11 +4930,6 @@ multiclass sve2_int_bitwise_ternary_op<bits<3> opc, string asm, SDPatternOperato
4937
4930
def : SVE_3_Op_Pat<nxv8i16, op, nxv8i16, nxv8i16, nxv8i16, !cast<Instruction>(NAME)>;
4938
4931
def : SVE_3_Op_Pat<nxv4i32, op, nxv4i32, nxv4i32, nxv4i32, !cast<Instruction>(NAME)>;
4939
4932
def : SVE_3_Op_Pat<nxv2i64, op, nxv2i64, nxv2i64, nxv2i64, !cast<Instruction>(NAME)>;
4940
-
4941
- def : SVE_3_Op_BSP_Pat<nxv16i8, ir_op, nxv16i8, nxv16i8, nxv16i8, !cast<Instruction>(NAME)>;
4942
- def : SVE_3_Op_BSP_Pat<nxv8i16, ir_op, nxv8i16, nxv8i16, nxv8i16, !cast<Instruction>(NAME)>;
4943
- def : SVE_3_Op_BSP_Pat<nxv4i32, ir_op, nxv4i32, nxv4i32, nxv4i32, !cast<Instruction>(NAME)>;
4944
- def : SVE_3_Op_BSP_Pat<nxv2i64, ir_op, nxv2i64, nxv2i64, nxv2i64, !cast<Instruction>(NAME)>;
4945
4933
}
4946
4934
4947
4935
class sve2_int_rotate_right_imm<bits<4> tsz8_64, string asm,
0 commit comments