[llvm] [offload][SYCL] Add SYCL Module splitting (PR #119713)

Fraser Cormack via llvm-commits llvm-commits at lists.llvm.org
Thu Dec 12 09:44:10 PST 2024


================
@@ -123,6 +187,16 @@ int main(int argc, char **argv) {
     Out->keep();
   };
 
+  if (SYCLSplitMode != IRSplitMode::IRSM_NONE) {
+    auto E = runSYCLSplitModule(std::move(M));
----------------
frasercrmck wrote:

`runSYCLSplitModule` calls `splitSYCLModule` - the terms get switched around.

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


More information about the llvm-commits mailing list