[LLVMdev] [RFC] Upstreaming LLVM/SPIR-V converter

jingu kang
Sat, 16 May 2015 10:02:41 -0000

2015-05-16 6:42 GMT+01:00 Chris Lattner <clattner at
apple.com>:
>
> > On May 15, 2015, at 9:53 AM, Chris Bieneman <beanz at apple.com>
wrote:
> >
> > +1 to lib/Target/SPIRV/(Reader|Writer)
> >
> > I really like this idea. I’ve talked with some people on both the LLVM
and Khronos sides and I really think adding SPIR-V support to LLVM as an
optional program serialization format would be fantastic. I think it would make
it even easier for LLVM-based tools to be integrated into GPU authoring and
execution pipelines.
>
> I’m not that familiar with SPIRV, but if it really is a serialization
format, then why isn’t it a parallel to llvm/lib/Bitcode?

+1 livm/lib/SPIRV like llvm/lib/Bitcode and addition of llvm
instrinsics for SPIR-V.