[clang] [Headers][X86] Convert bf16 to f32 conversions to constexpr implementations (PR #169841)

Phoebe Wang via cfe-commits cfe-commits at lists.llvm.org
Fri Nov 28 03:56:57 PST 2025


================

----------------
phoebewang wrote:

When AVX512BF16 is enabled, it's lowered to `vcvtneps2bf16`, https://godbolt.org/z/d5snYdGn4. Otherwise, it's scalarized with libcall. Since we change for intrinsic, AVX512BF16 is guaranteed. I don't see any risk here.

https://github.com/llvm/llvm-project/pull/169841


More information about the cfe-commits mailing list