[llvm] [X86] Lower bf16 round-to-integer on AVX10.2 via vrndscalebf16 (PR #213276)
Phoebe Wang via llvm-commits
llvm-commits at lists.llvm.org
Fri Aug 28 06:50:02 PDT 2026
================
@@ -2627,6 +2627,10 @@ X86TargetLowering::X86TargetLowering(const X86TargetMachine &TM,
setOperationAction(ISD::FSQRT, MVT::bf16, Custom);
setOperationAction(ISD::FMA, MVT::bf16, Custom);
+ for (unsigned Opc : {ISD::FFLOOR, ISD::FCEIL, ISD::FTRUNC, ISD::FRINT,
----------------
phoebewang wrote:
Nit, I'd like list them in plain like others.
https://github.com/llvm/llvm-project/pull/213276
More information about the llvm-commits
mailing list