[clang] [llvm] [Driver][SYCL] Add initial SYCL offload compilation support (PR #107493)

Tom Honermann via cfe-commits cfe-commits at lists.llvm.org
Tue Sep 17 13:57:28 PDT 2024


================
@@ -979,6 +1000,44 @@ void Driver::CreateOffloadingDeviceToolChains(Compilation &C,
     return;
   }
 
+  //
+  // SYCL
+  //
+  // We need to generate a SYCL toolchain if the user specified -fsycl.
+  // If -fsycl is supplied we will assume SPIR-V.
----------------
tahonermann wrote:

This comment is repeated below where it appears to be more relevant to the surrounding code. I recommend removing this one.
```suggestion
```

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


More information about the cfe-commits mailing list