akhilgoe wrote: Yes, this is relevant for XeVM/SPIR-V targets. XeVM already lowers fastmath ops to native OpenCL intrinsics, so feels natural to move this to the existing pipeline. https://github.com/llvm/llvm-project/pull/198370