Skip to content

Commit a7e8bfa

Browse files
[sycl-post-link][NFC] Return accidentally reverted change (#4726)
Returned back small piece of code which was accidentally reverted in #4693
1 parent 18f5643 commit a7e8bfa

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

llvm/tools/sycl-post-link/sycl-post-link.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -319,7 +319,7 @@ static void collectKernelModuleMap(
319319
}
320320
case Scope_Global:
321321
// the map key is not significant here
322-
ResKernelModuleMap["<GLOBAL>"].push_back(&F);
322+
ResKernelModuleMap[GLOBAL_SCOPE_NAME].push_back(&F);
323323
break;
324324
}
325325
}

0 commit comments

Comments
 (0)