[clang] [llvm] [OffloadBundler] Rework the ctor of `OffloadTargetInfo` to support AMDGPU's generic target (PR #122629)

Jacob Lambert via llvm-commits llvm-commits at lists.llvm.org
Mon Jan 13 10:05:46 PST 2025


lamb-j wrote:

https://github.com/search?q=org%3AROCm%20clang-offload-bundler&type=code

So at least a few direct users this may break things for. There are also users that call the OffloadBundler API instead of directly calling clang-offload-bundler that this may impact.

Could we assume "gfx * -generic" is a single Target ID, and check for/parse that separately before doing rsplit on "-"?








https://github.com/llvm/llvm-project/pull/122629


More information about the llvm-commits mailing list