Skip to content

Commit 5198fec

Browse files
jsjiVictor Lomuller
andauthored
Update clang/lib/CodeGen/BackendUtil.cpp
Update comments. Co-authored-by: Victor Lomuller <[email protected]>
1 parent 8bbb5fa commit 5198fec

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

clang/lib/CodeGen/BackendUtil.cpp

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1046,8 +1046,8 @@ void EmitAssemblyHelper::RunOptimizationPipeline(
10461046
PB.registerOptimizerEarlyEPCallback([](ModulePassManager &MPM,
10471047
OptimizationLevel Level,
10481048
ThinOrFullLTOPhase) {
1049-
// Allocate static local memory in SYCL kernel scope for each allocation
1050-
// call.
1049+
// Lowers __sycl_allocateLocalMemory and __sycl_dynamicLocalMemoryPlaceholder
1050+
// builtin calls.
10511051
MPM.addPass(SYCLLowerWGLocalMemoryPass());
10521052
});
10531053
} else if (LangOpts.SYCLIsHost && !LangOpts.SYCLESIMDBuildHostCode)

0 commit comments

Comments
 (0)