@@ -1333,9 +1333,9 @@ RISCVTargetLowering::RISCVTargetLowering(const TargetMachine &TM,
1333
1333
// expansion to a build_vector of 0s.
1334
1334
setOperationAction(ISD::UNDEF, VT, Custom);
1335
1335
1336
- setOperationAction({ISD::CONCAT_VECTORS, ISD::VECTOR_REVERSE ,
1337
- ISD::INSERT_SUBVECTOR , ISD::EXTRACT_SUBVECTOR ,
1338
- ISD::VECTOR_COMPRESS},
1336
+ setOperationAction({ISD::CONCAT_VECTORS, ISD::INSERT_SUBVECTOR ,
1337
+ ISD::EXTRACT_SUBVECTOR , ISD::VECTOR_REVERSE ,
1338
+ ISD::VECTOR_SHUFFLE, ISD:: VECTOR_COMPRESS},
1339
1339
VT, Custom);
1340
1340
1341
1341
// FIXME: mload, mstore, mgather, mscatter, vp_gather/scatter can be
@@ -1359,7 +1359,6 @@ RISCVTargetLowering::RISCVTargetLowering(const TargetMachine &TM,
1359
1359
Custom);
1360
1360
setOperationAction({ISD::VP_SINT_TO_FP, ISD::VP_UINT_TO_FP}, VT,
1361
1361
Custom);
1362
- setOperationAction(ISD::VECTOR_SHUFFLE, VT, Custom);
1363
1362
if (Subtarget.hasStdExtZfhmin()) {
1364
1363
setOperationAction(ISD::BUILD_VECTOR, VT, Custom);
1365
1364
} else {
@@ -1384,7 +1383,6 @@ RISCVTargetLowering::RISCVTargetLowering(const TargetMachine &TM,
1384
1383
if (VT.getVectorElementType() == MVT::bf16) {
1385
1384
setOperationAction(ISD::BITCAST, VT, Custom);
1386
1385
setOperationAction({ISD::VP_FP_ROUND, ISD::VP_FP_EXTEND}, VT, Custom);
1387
- setOperationAction(ISD::VECTOR_SHUFFLE, VT, Custom);
1388
1386
if (Subtarget.hasStdExtZfbfmin()) {
1389
1387
setOperationAction(ISD::BUILD_VECTOR, VT, Custom);
1390
1388
} else {
@@ -1406,7 +1404,7 @@ RISCVTargetLowering::RISCVTargetLowering(const TargetMachine &TM,
1406
1404
continue;
1407
1405
}
1408
1406
1409
- setOperationAction({ISD::BUILD_VECTOR, ISD::VECTOR_SHUFFLE,
1407
+ setOperationAction({ISD::BUILD_VECTOR,
1410
1408
ISD::INSERT_VECTOR_ELT, ISD::EXTRACT_VECTOR_ELT,
1411
1409
ISD::SCALAR_TO_VECTOR},
1412
1410
VT, Custom);
0 commit comments