File tree Expand file tree Collapse file tree 1 file changed +2
-2
lines changed
Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Original file line number Diff line number Diff line change @@ -90,10 +90,10 @@ ModulePass *llvm::createSYCLLowerWGLocalMemoryLegacyPass() {
9090// In sycl header __sycl_allocateLocalMemory builtin call is wrapped in
9191// group_local_memory/group_local_memory_for_overwrite functions, which must be
9292// inlined first before each __sycl_allocateLocalMemory call can be lowered to a
93- // unique global variable. Inlining them here so that this pass doesn't have
93+ // distinct global variable. Inlining them here so that this pass doesn't have
9494// implicit dependency on AlwaysInlinerPass.
9595//
96- // syclcompat::local_mem, which represents a unique allocation, calls
96+ // syclcompat::local_mem, which represents a distinct allocation, calls
9797// group_local_memory_for_overwrite. So local_mem should be inlined as well.
9898static bool inlineGroupLocalMemoryFunc (Module &M) {
9999 Function *ALMFunc = M.getFunction (SYCL_ALLOCLOCALMEM_CALL);
You can’t perform that action at this time.
0 commit comments