[clang] [llvm] Reland - [Driver][SYCL] Add initial SYCL offload compilation support … (PR #117268)

Fangrui Song via llvm-commits llvm-commits at lists.llvm.org
Tue Dec 24 19:36:29 PST 2024


================
@@ -6591,11 +6679,23 @@ const ToolChain &Driver::getOffloadingDeviceToolChain(
                                                            HostTC, Args);
       break;
     }
+    case Action::OFK_SYCL:
+      switch (Target.getArch()) {
----------------
MaskRay wrote:

Use `isSPIR` and `isSPIRV`

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


More information about the llvm-commits mailing list