https://github.com/jhuber6 commented:
So, I'm thinking that SPIR-V here fits better as a triple. I've been wanting to generalize the `--offload` option to behave more like `-fopenmp-targets`. I.e. we would have `--offload=spirv64-amd-amdhsa,amdgcn-amd-amdhsa -Xarch_device_amdgcn-amd-amdhsa --offload-arch=gfx1030,gfx90a,gfx942` for a really verbose example. I'd like a separate option that simply targets the *toolchain* and then one that creates the `BoundArch`s. If it's not set then we default to some value (whatever amdgpu-arch says?). https://github.com/llvm/llvm-project/pull/113509 _______________________________________________ cfe-commits mailing list cfe-commits@lists.llvm.org https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits