LLVM's libclc Adds Mesa SPIR-V Target
Continuing on with all of the OpenCL Mesa work that's been going on by Red Hat developers in recent time, LLVM's libclc library now has support for targeting Mesa SPIR-V.
The new target added to LLVM's libclc is for emitting SPIR-V geared for Mesa's OpenCL support. Libclc is the LLVM sub-project focused on providing a library for OpenCL C run-time usage. Existing targets have included AMDGPU/AMDGCN, R600, and NVIDIA NVPTX while SPIR-V for Mesa is the newest target for this OpenCL library.
The code is ready to go as part of LLVM 12.0 releasing next year.
Red Hat continues investing heavily in the open-source OpenCL compute stack based on Mesa, particularly for open-source NVIDIA, so it will be very interesting to see how this ultimately plays out.