LLVM Developers Still Discussing SPIR-V Support Within Clang

Written by Michael Larabel in LLVM on 17 September 2018 at 05:27 AM EDT. Add A Comment
LLVM
One of the features that didn't materialize for LLVM / Clang 7.0 is the SPIR-V support within the compiler toolchain.

While there has been a SPIR-V / LLVM translator out-of-tree and various developers at different vendors have been discussing for months the prospects of adding SPIR-V intermediate representation support to LLVM/Clang, it has yet to materialize.

The latest developer discussion is to have a roundtable talk on the SPIR-V integration at the 2018 LLVM Developers' Meeting. This year the LLVM Developers' Meeting is happening at the San Jose Convention Center from 17 to 18 October.

Items still to be thought out include the generation of SPIR-V binaries within LLVM, importing and linking SPIR-V libraries/binaries, targeting in Clang for the next OpenCL C/C++ features, and handling external tools.

Hopefully this SPIR-V support can be settled soon for mainline LLVM/Clang given all the interesting prospects of better toolchain integration and code re-use to benefit OpenCL/Vulkan and LLVM ecosystems once there is this official route for going to/from this official Khronos IR.
Related News
About The Author
Michael Larabel

Michael Larabel is the principal author of Phoronix.com and founded the site in 2004 with a focus on enriching the Linux hardware experience. Michael has written more than 20,000 articles covering the state of Linux hardware support, Linux performance, graphics drivers, and other topics. Michael is also the lead developer of the Phoronix Test Suite, Phoromatic, and OpenBenchmarking.org automated benchmarking software. He can be followed via Twitter, LinkedIn, or contacted via MichaelLarabel.com.

Popular News This Week