[llvm] [ISel/RISCV] Custom-promote [b]f16 in [l]lrint (PR #146507)
Craig Topper via llvm-commits
llvm-commits at lists.llvm.org
Tue Jul 1 12:19:20 PDT 2025
================
@@ -1456,6 +1457,8 @@ RISCVTargetLowering::RISCVTargetLowering(const TargetMachine &TM,
// available.
setOperationAction(ISD::BUILD_VECTOR, MVT::f16, Custom);
}
+ if (Subtarget.hasVInstructionsF16Minimal())
----------------
topperc wrote:
hasVInstructionF16Minimal()==true is guaranteed by the `useRVVForFixedLengthVectorVT` earlier in the loop we're in here.
https://github.com/llvm/llvm-project/pull/146507
More information about the llvm-commits
mailing list