[libclc] [libclc] Use float sw_fma for spirv*-mesa-mesa3d targets (PR #199626)

Joseph Huber via cfe-commits cfe-commits at lists.llvm.org
Tue May 26 06:36:29 PDT 2026


jhuber6 wrote:

> If upstream LLVM decides that only OpenCL C builtins are provided, then that's a decision I could accept, it just means I'd have to add a software fma implementation to mesa even though one already exists technically in libclc and I'd rather just skip the work.

I'll need to double check if we expose any 'extensions' already, but we probably should in a formalized way. There's a lot of behavior that would best fit here and it'd be very limiting to only accept the official OpenCL standard. Everyone loves C extensions after all.

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


More information about the cfe-commits mailing list