Skip to content

Commit a765d79

Browse files
committed
unique -> distinct
1 parent d764d00 commit a765d79

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

llvm/lib/SYCLLowerIR/LowerWGLocalMemory.cpp

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff 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.
9898
static bool inlineGroupLocalMemoryFunc(Module &M) {
9999
Function *ALMFunc = M.getFunction(SYCL_ALLOCLOCALMEM_CALL);

0 commit comments

Comments
 (0)