Skip to content

Commit 118f8ba

Browse files
committed
[RISCV] Lower vector_splice on zvfhmin/zvfbfmin
Similar to other permutation ops, we can just reuse the existing lowering.
1 parent fe7e653 commit 118f8ba

File tree

2 files changed

+307
-2389
lines changed

2 files changed

+307
-2389
lines changed

llvm/lib/Target/RISCV/RISCVISelLowering.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1076,7 +1076,7 @@ RISCVTargetLowering::RISCVTargetLowering(const TargetMachine &TM,
10761076
setOperationAction({ISD::INSERT_VECTOR_ELT, ISD::CONCAT_VECTORS,
10771077
ISD::INSERT_SUBVECTOR, ISD::EXTRACT_SUBVECTOR,
10781078
ISD::VECTOR_DEINTERLEAVE, ISD::VECTOR_INTERLEAVE,
1079-
ISD::VECTOR_REVERSE},
1079+
ISD::VECTOR_REVERSE, ISD::VECTOR_SPLICE},
10801080
VT, Custom);
10811081
MVT EltVT = VT.getVectorElementType();
10821082
if (isTypeLegal(EltVT))

0 commit comments

Comments
 (0)