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

Tom Stellard via cfe-dev cfe-dev at lists.llvm.org
Tue Sep 11 19:43:00 PDT 2018


On 09/11/2018 12:31 PM, Friedman, Eli via llvm-dev wrote:
> On 9/10/2018 8:10 AM, Anastasia Stulova via cfe-dev wrote:
>> This will result in the following Clang actions:
>>
>> (1) clang -cc1 -triple spirv[32|64]-unknown-unknown test.cl -emit-llvm-bc -o test.bc
>>
>> (2) llvm-spirv test.bc -o test.spv
> 
> Even if llvm-spirv is technically a separate binary, it's still tightly coupled to the clang version because the bitcode format changes over time; it would be a support nightmare if clang shipped by llvm.org passes bitcode to some binary which isn't shipped by llvm.org.
> 

Are you concerned about the support burden for the LLVM maintainers
or the llvm-spirv maintainers?

> -Eli
> 




More information about the cfe-dev mailing list