Skip to content

Commit ae9da08

Browse files
committed
Use the more derived type
1 parent 4a20034 commit ae9da08

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

llvm/lib/Target/ARM/ARMInstrMVE.td

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -2199,7 +2199,7 @@ def subnsw : PatFrag<(ops node:$lhs, node:$rhs),
21992199
}]>;
22002200

22012201
multiclass MVE_VRHADD_m<MVEVectorVTInfo VTI, SDNode Op,
2202-
DefaultAttrsIntrinsic unpred_op, Intrinsic PredInt> {
2202+
SDPatternOperator unpred_op, Intrinsic PredInt> {
22032203
def "" : MVE_VRHADD_Base<VTI.Suffix, VTI.Unsigned, VTI.Size>;
22042204
defvar Inst = !cast<Instruction>(NAME);
22052205
defm : MVE_TwoOpPattern<VTI, Op, PredInt, (? (i32 VTI.Unsigned)), !cast<Instruction>(NAME)>;
@@ -2303,7 +2303,7 @@ class MVE_VHSUB_<string suffix, bit U, bits<2> size,
23032303
: MVE_VHADDSUB<"vhsub", suffix, U, 0b1, size, pattern>;
23042304

23052305
multiclass MVE_VHADD_m<MVEVectorVTInfo VTI, SDNode Op,
2306-
DefaultAttrsIntrinsic unpred_op, Intrinsic PredInt, PatFrag add_op,
2306+
SDPatternOperator unpred_op, Intrinsic PredInt, PatFrag add_op,
23072307
SDNode shift_op> {
23082308
def "" : MVE_VHADD_<VTI.Suffix, VTI.Unsigned, VTI.Size>;
23092309
defvar Inst = !cast<Instruction>(NAME);
@@ -2335,7 +2335,7 @@ defm MVE_VHADDu16 : MVE_VHADD<MVE_v8u16, avgflooru, addnuw, ARMvshruImm>;
23352335
defm MVE_VHADDu32 : MVE_VHADD<MVE_v4u32, avgflooru, addnuw, ARMvshruImm>;
23362336

23372337
multiclass MVE_VHSUB_m<MVEVectorVTInfo VTI,
2338-
DefaultAttrsIntrinsic unpred_op, Intrinsic pred_int, PatFrag sub_op,
2338+
SDPatternOperator unpred_op, Intrinsic pred_int, PatFrag sub_op,
23392339
SDNode shift_op> {
23402340
def "" : MVE_VHSUB_<VTI.Suffix, VTI.Unsigned, VTI.Size>;
23412341
defvar Inst = !cast<Instruction>(NAME);
@@ -4794,7 +4794,7 @@ class MVE_VxMULH<string iname, string suffix, bit U, bits<2> size, bit round,
47944794
let validForTailPredication = 1;
47954795
}
47964796

4797-
multiclass MVE_VxMULH_m<string iname, MVEVectorVTInfo VTI, DefaultAttrsIntrinsic unpred_op,
4797+
multiclass MVE_VxMULH_m<string iname, MVEVectorVTInfo VTI, SDPatternOperator unpred_op,
47984798
Intrinsic PredInt, bit round> {
47994799
def "" : MVE_VxMULH<iname, VTI.Suffix, VTI.Unsigned, VTI.Size, round>;
48004800
defvar Inst = !cast<Instruction>(NAME);

0 commit comments

Comments
 (0)