summaryrefslogtreecommitdiffstats
path: root/clang/test/OpenMP/target_simd_depend_codegen.cpp
diff options
context:
space:
mode:
authorAlexey Bataev <a.bataev@hotmail.com>2018-05-08 14:16:57 +0000
committerAlexey Bataev <a.bataev@hotmail.com>2018-05-08 14:16:57 +0000
commit9a70017537ee2f0973e3cd748886225ec09bbc22 (patch)
treeed774e7760e0d521f5cdf8f7ccdb17924fde425f /clang/test/OpenMP/target_simd_depend_codegen.cpp
parent2580554333cd2ec9eaa385580334fed2996565a3 (diff)
downloadbcm5719-llvm-9a70017537ee2f0973e3cd748886225ec09bbc22.tar.gz
bcm5719-llvm-9a70017537ee2f0973e3cd748886225ec09bbc22.zip
[OPENMP, NVPTX] Fix linkage of the global entries.
The linkage of the global entries must be weak to enable support of redefinition of the same target regions in multiple compilation units. llvm-svn: 331768
Diffstat (limited to 'clang/test/OpenMP/target_simd_depend_codegen.cpp')
-rw-r--r--clang/test/OpenMP/target_simd_depend_codegen.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/clang/test/OpenMP/target_simd_depend_codegen.cpp b/clang/test/OpenMP/target_simd_depend_codegen.cpp
index 9b035d2ceb5..e41009ad1b3 100644
--- a/clang/test/OpenMP/target_simd_depend_codegen.cpp
+++ b/clang/test/OpenMP/target_simd_depend_codegen.cpp
@@ -49,7 +49,7 @@
// CHECK-DAG: [[SIZET:@.+]] = private unnamed_addr constant [2 x i[[SZ]]] [i[[SZ]] 0, i[[SZ]] 4]
// CHECK-DAG: [[MAPT:@.+]] = private unnamed_addr constant [2 x i64] [i64 32, i64 288]
-// CHECK-DAG: @{{.*}} = private constant i8 0
+// CHECK-DAG: @{{.*}} = weak constant i8 0
// TCHECK: @{{.+}} = weak constant [[ENTTY]]
// TCHECK: @{{.+}} = {{.*}}constant [[ENTTY]]
OpenPOWER on IntegriCloud