[clang] [llvm] [Clang][SYCL] Define Intel IGCA preprocessor macro definitions for SYCL during device compilation (PR #227877)

Tom Honermann via cfe-commits cfe-commits at lists.llvm.org
Sun Nov 8 12:32:06 PST 2026


https://github.com/tahonermann requested changes to this pull request.

Thanks @ianayl!

Before approving this, I'd like to see what a follow up PR to modify `AMDGPUTargetInfo` and `NVPTXTargetInfo` to derive from `OffloadTargetInfo` and to update `SPIRV64AMDGCNTargetInfo` to make use of the `DeviceArch` member would look like.

I added a number of comments. The main change I would like to see is the avoidance of the addition of `getBackendCPU()`. Other comments concern more minor thoughts.


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


More information about the cfe-commits mailing list