[clang] [llvm] [clang-sycl-linker] Add per-kernel device code splitting (PR #195362)

Nick Sarnie via cfe-commits cfe-commits at lists.llvm.org
Tue May 5 07:47:32 PDT 2026


================
@@ -461,6 +468,107 @@ static Error runAOTCompile(StringRef InputFile, StringRef OutputFile,
   return createStringError(inconvertibleErrorCode(), "Unsupported arch");
 }
 
+/// SYCL device code module split mode.
+enum IRSplitMode {
----------------
sarnex wrote:

nit: could we use `enum class`?

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


More information about the cfe-commits mailing list