sommerlukas wrote: The change makes sense to me. Maybe @VyacheslavLevytskyy as the main contributor and maintainer of the LLVM SPIR-V backend can chime in here and advise on the best representation for these builtins, including OpenCL vs SPIR-V. https://github.com/llvm/llvm-project/pull/126111