summaryrefslogtreecommitdiff
path: root/test/OpenMP/nvptx_teams_reduction_codegen.cpp
diff options
context:
space:
mode:
authorAlexey Bataev <a.bataev@hotmail.com>2019-10-16 16:59:01 +0000
committerAlexey Bataev <a.bataev@hotmail.com>2019-10-16 16:59:01 +0000
commit88700afba7f6176b9c437a6b66d81fd484ad845d (patch)
tree80446d2aca550e761683d3c3f5a8161ceb5e0789 /test/OpenMP/nvptx_teams_reduction_codegen.cpp
parent5cd7a6f916b7b11f9955587e413af95c3f45bc7b (diff)
downloadclang-88700afba7f6176b9c437a6b66d81fd484ad845d.tar.gz
[OPENMP]Use different addresses for zeroed thread_id/bound_id.
When the parallel region is called directly in the sequential region, the zeroed tid/bound id are used. But they must point to the different memory locations as the parameters are marked as noalias. git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@375017 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'test/OpenMP/nvptx_teams_reduction_codegen.cpp')
-rw-r--r--test/OpenMP/nvptx_teams_reduction_codegen.cpp1
1 files changed, 1 insertions, 0 deletions
diff --git a/test/OpenMP/nvptx_teams_reduction_codegen.cpp b/test/OpenMP/nvptx_teams_reduction_codegen.cpp
index 96f4de8455..d17eee24ab 100644
--- a/test/OpenMP/nvptx_teams_reduction_codegen.cpp
+++ b/test/OpenMP/nvptx_teams_reduction_codegen.cpp
@@ -712,6 +712,7 @@ int bar(int n){
// CHECK-NOT: call void @__kmpc_get_team_static_memory
// CHECK: store i32 0,
+ // CHECK: store i32 0,
// CHECK: store i32 0, i32* [[A_ADDR:%.+]], align
// CHECK: store i16 -32768, i16* [[B_ADDR:%.+]], align
// CHECK: call void [[OUTLINED:@.+]](i32* {{.+}}, i32* {{.+}}, i32* [[A_ADDR]], i16* [[B_ADDR]])