[llvm] [RISCV] Lower memory ops and VP splat for zvfhmin and zvfbfmin (PR #109387)
Craig Topper via llvm-commits
llvm-commits at lists.llvm.org
Tue Sep 24 20:06:37 PDT 2024
================
@@ -1082,10 +1082,17 @@ RISCVTargetLowering::RISCVTargetLowering(const TargetMachine &TM,
VT, Custom);
MVT EltVT = VT.getVectorElementType();
if (isTypeLegal(EltVT))
- setOperationAction(ISD::SPLAT_VECTOR, VT, Custom);
+ setOperationAction({ISD::SPLAT_VECTOR, ISD::EXPERIMENTAL_VP_SPLAT}, VT,
+ Custom);
else
- setOperationAction(ISD::SPLAT_VECTOR, EltVT, Custom);
- setOperationAction({ISD::LOAD, ISD::STORE}, VT, Custom);
+ setOperationAction({ISD::SPLAT_VECTOR, ISD::EXPERIMENTAL_VP_SPLAT},
----------------
topperc wrote:
Is this part tested?
https://github.com/llvm/llvm-project/pull/109387
More information about the llvm-commits
mailing list