From a7e8bfa3eb80e85a1f662e5efa58bac5435a7c02 Mon Sep 17 00:00:00 2001 From: Alexey Sachkov Date: Fri, 8 Oct 2021 10:05:59 +0300 Subject: [PATCH] [sycl-post-link][NFC] Return accidentally reverted change (#4726) Returned back small piece of code which was accidentally reverted in intel/llvm#4693 --- llvm/tools/sycl-post-link/sycl-post-link.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/llvm/tools/sycl-post-link/sycl-post-link.cpp b/llvm/tools/sycl-post-link/sycl-post-link.cpp index 1fb3d93af5064..b92f4d3a4eb6a 100644 --- a/llvm/tools/sycl-post-link/sycl-post-link.cpp +++ b/llvm/tools/sycl-post-link/sycl-post-link.cpp @@ -319,7 +319,7 @@ static void collectKernelModuleMap( } case Scope_Global: // the map key is not significant here - ResKernelModuleMap[""].push_back(&F); + ResKernelModuleMap[GLOBAL_SCOPE_NAME].push_back(&F); break; } }