We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 8bbb5fa commit 5198fecCopy full SHA for 5198fec
clang/lib/CodeGen/BackendUtil.cpp
@@ -1046,8 +1046,8 @@ void EmitAssemblyHelper::RunOptimizationPipeline(
1046
PB.registerOptimizerEarlyEPCallback([](ModulePassManager &MPM,
1047
OptimizationLevel Level,
1048
ThinOrFullLTOPhase) {
1049
- // Allocate static local memory in SYCL kernel scope for each allocation
1050
- // call.
+ // Lowers __sycl_allocateLocalMemory and __sycl_dynamicLocalMemoryPlaceholder
+ // builtin calls.
1051
MPM.addPass(SYCLLowerWGLocalMemoryPass());
1052
});
1053
} else if (LangOpts.SYCLIsHost && !LangOpts.SYCLESIMDBuildHostCode)
0 commit comments