[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
================
@@ -1480,6 +1483,8 @@ RISCVTargetLowering::RISCVTargetLowering(const TargetMachine &TM,
// available.
setOperationAction(ISD::BUILD_VECTOR, MVT::bf16, Custom);
}
+ if (Subtarget.hasVInstructionsBF16Minimal())
----------------
topperc wrote:
hasVInstructionsBF16Minimal should also be guaranteed here.
https://github.com/llvm/llvm-project/pull/146507
More information about the llvm-commits
mailing list