summaryrefslogtreecommitdiffstats
path: root/clang/test/OpenMP/target_parallel_if_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_parallel_if_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_parallel_if_codegen.cpp')
-rw-r--r--clang/test/OpenMP/target_parallel_if_codegen.cpp12
1 files changed, 6 insertions, 6 deletions
diff --git a/clang/test/OpenMP/target_parallel_if_codegen.cpp b/clang/test/OpenMP/target_parallel_if_codegen.cpp
index 06db9ff4166..9d5896ce9ad 100644
--- a/clang/test/OpenMP/target_parallel_if_codegen.cpp
+++ b/clang/test/OpenMP/target_parallel_if_codegen.cpp
@@ -53,12 +53,12 @@
// We have 6 target regions
-// CHECK-DAG: @{{.*}} = private constant i8 0
-// CHECK-DAG: @{{.*}} = private constant i8 0
-// CHECK-DAG: @{{.*}} = private constant i8 0
-// CHECK-DAG: @{{.*}} = private constant i8 0
-// CHECK-DAG: @{{.*}} = private constant i8 0
-// CHECK-DAG: @{{.*}} = private constant i8 0
+// CHECK-DAG: @{{.*}} = weak constant i8 0
+// CHECK-DAG: @{{.*}} = weak constant i8 0
+// CHECK-DAG: @{{.*}} = weak constant i8 0
+// CHECK-DAG: @{{.*}} = weak constant i8 0
+// CHECK-DAG: @{{.*}} = weak constant i8 0
+// CHECK-DAG: @{{.*}} = weak constant i8 0
// TCHECK: @{{.+}} = weak constant [[ENTTY]]
// TCHECK: @{{.+}} = weak constant [[ENTTY]]
OpenPOWER on IntegriCloud