Open asudarsa opened 11 months ago
Upstream have started to add SPIRV target that register spirv64.
extern "C" LLVM_EXTERNAL_VISIBILITY void LLVMInitializeSPIRVTargetInfo() { RegisterTarget<Triple::spirv32> X(getTheSPIRV32Target(), "spirv32", "SPIR-V 32-bit", "SPIRV"); RegisterTarget<Triple::spirv64> Y(getTheSPIRV64Target(), "spirv64", "SPIR-V 64-bit", "SPIRV"); RegisterTarget<Triple::spirv> Z(getTheSPIRVLogicalTarget(), "spirv", "SPIR-V Logical", "SPIRV"); }
There are some warnings emitted when the user/driver specifies 'spir/spir64/spir32' as the triples. It will be useful to align on how to interpret these triples.
Thanks
Couple of related PRs:
Upstream have started to add SPIRV target that register spirv64.
There are some warnings emitted when the user/driver specifies 'spir/spir64/spir32' as the triples. It will be useful to align on how to interpret these triples.
Thanks