[clang] [llvm] [Clang][SYCL][Object] Compile SYCL device code once per IGCA target (PR #239010)

Srividya Sundaram via cfe-commits cfe-commits at lists.llvm.org
Mon Nov 23 10:46:13 PST 2026


srividya-sundaram wrote:

> if we ran the command with code=, for an openmp nvptx64 image, what would happen? would it not extract anything?

It would still extract fine. A missing `code` key reads back as empty, so `code=` matches.

> my overall thinking is that if code is only going to matter for Intel, the nvptx/amdgpu flows should not have to deal with it at all, they should not have to pass an empty code for it to work as it did before

Agree. In https://github.com/llvm/llvm-project/pull/239010/changes/b041a8d6b7b0aae3a1763fa43f3cd2e333d3fff4 the empty filter is only added when one of the input images actually has a `code` list, so linker-wrapper-verbose.c is back to what it was on main.

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


More information about the cfe-commits mailing list