[llvm-dev] [RfC] A proposal of adding SPIR-V Toolchain in Clang

Nicolai Hähnle via llvm-dev llvm-dev at lists.llvm.org
Tue Sep 11 05:42:57 PDT 2018


On 11.09.2018 03:47, Nicholas Wilson via llvm-dev wrote:
> First, I’d like to note that while clang may be the primary motivator 
> for many of the readers here it is not the only frontend that would like 
> to make use of proper SPIR-V support in LLVM.

Even more than that, it's not only frontends that are interested :)

The AMDGPU backend is used to compile SPIR-V into machine code, and this 
comes with occasional pains due to subtle semantics mismatches. My hope 
would be that getting a better alignment of SPIR-V and LLVM would reduce 
those pains.

Cheers,
Nicolai
-- 
Lerne, wie die Welt wirklich ist,
Aber vergiss niemals, wie sie sein sollte.


More information about the llvm-dev mailing list