diff options
author | Alexey Bataev <a.bataev@hotmail.com> | 2018-05-08 14:16:57 +0000 |
---|---|---|
committer | Alexey Bataev <a.bataev@hotmail.com> | 2018-05-08 14:16:57 +0000 |
commit | 9a70017537ee2f0973e3cd748886225ec09bbc22 (patch) | |
tree | ed774e7760e0d521f5cdf8f7ccdb17924fde425f /clang/test/OpenMP/target_parallel_if_codegen.cpp | |
parent | 2580554333cd2ec9eaa385580334fed2996565a3 (diff) | |
download | bcm5719-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.cpp | 12 |
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]] |