[clang] [llvm] [Clang][SYCL][Object] Compile SYCL device code once per IGCA target (PR #239010)
Nick Sarnie via cfe-commits
cfe-commits at lists.llvm.org
Mon Nov 23 10:48:15 PST 2026
sarnex 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 [b041a8d](https://github.com/llvm/llvm-project/commit/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.
cool thanks, sorry the test changes might have mislead me
https://github.com/llvm/llvm-project/pull/239010
More information about the cfe-commits
mailing list