[llvm-dev] Generating SPIR

Neil Henning via llvm-dev llvm-dev at lists.llvm.org
Tue Dec 19 06:03:01 PST 2017


For SPIR 1.2 you can use this repo + the instructions in it 
https://github.com/KhronosGroup/SPIR

I don't believe there is a way to generate SPIR from LLVM trunk.

Cheers,
-Neil.

On 2017-12-02 00:23, Nicholas Wilson via llvm-dev wrote:
> I am already successfully generating SPIR-V with a forward port of
> Khronos’ SPIR-V LLVM. What does one need in order to generate SPIR?
> 
> From what I gather it is _based on_ a specific LLVM IR version (3.4?)
> with a bunch of metadata.
> Is it possible to generate SPIR from LLVM trunk? If so how?
> 
> Thanks
> Nic
> _______________________________________________
> LLVM Developers mailing list
> llvm-dev at lists.llvm.org
> http://lists.llvm.org/cgi-bin/mailman/listinfo/llvm-dev



More information about the llvm-dev mailing list