From 88700afba7f6176b9c437a6b66d81fd484ad845d Mon Sep 17 00:00:00 2001 From: Alexey Bataev Date: Wed, 16 Oct 2019 16:59:01 +0000 Subject: [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 --- test/OpenMP/nvptx_teams_reduction_codegen.cpp | 1 + 1 file changed, 1 insertion(+) (limited to 'test/OpenMP/nvptx_teams_reduction_codegen.cpp') 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]]) -- cgit v1.2.1