[clang] [llvm] [SYCL] Add offload wrapping for SYCL kind. (PR #147508)

Nick Sarnie via llvm-commits llvm-commits at lists.llvm.org
Fri Sep 26 08:36:10 PDT 2025


================
@@ -620,6 +635,410 @@ void createRegisterFatbinFunction(Module &M, GlobalVariable *FatbinDesc,
   // Add this function to constructors.
   appendToGlobalCtors(M, CtorFunc, /*Priority=*/101);
 }
+
+/// SYCLWrapper helper class that creates all LLVM IRs wrapping given images.
+struct SYCLWrapper {
----------------
sarnex wrote:

nit: 
```suggestion
class SYCLWrapper {
```

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


More information about the llvm-commits mailing list