diff options
author | Alexey Bataev <a.bataev@hotmail.com> | 2018-11-16 19:38:21 +0000 |
---|---|---|
committer | Alexey Bataev <a.bataev@hotmail.com> | 2018-11-16 19:38:21 +0000 |
commit | f7b7bb1775b393a376b74dc23be4e265b2bfb317 (patch) | |
tree | 71294e663dd3a9a2050db25455f9fc13de0ca45b /test/OpenMP/nvptx_target_teams_distribute_parallel_for_simd_codegen.cpp | |
parent | cf314304d35cb85c5547e738b45500fbd334798f (diff) | |
download | clang-f7b7bb1775b393a376b74dc23be4e265b2bfb317.tar.gz |
[OPENMP][NVPTX]Emit correct reduction code for teams/parallel
reductions.
Fixed previously committed code for the reduction support in
teams/parallel constructs taking into account new design of the NVPTX
support in the compiler. Teams reduction are not fully functional yet,
it is going to be fixed in the following patches.
git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@347081 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'test/OpenMP/nvptx_target_teams_distribute_parallel_for_simd_codegen.cpp')
-rw-r--r-- | test/OpenMP/nvptx_target_teams_distribute_parallel_for_simd_codegen.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/test/OpenMP/nvptx_target_teams_distribute_parallel_for_simd_codegen.cpp b/test/OpenMP/nvptx_target_teams_distribute_parallel_for_simd_codegen.cpp index 395c10e663..2e9ceb129b 100644 --- a/test/OpenMP/nvptx_target_teams_distribute_parallel_for_simd_codegen.cpp +++ b/test/OpenMP/nvptx_target_teams_distribute_parallel_for_simd_codegen.cpp @@ -63,7 +63,7 @@ int bar(int n){ } // CHECK-DAG: [[MEM_TY:%.+]] = type { [4 x i8] } -// CHECK-DAG: [[SHARED_GLOBAL_RD:@.+]] = weak addrspace(3) global [[MEM_TY]] zeroinitializer +// CHECK-DAG: [[SHARED_GLOBAL_RD:@.+]] = common addrspace(3) global [[MEM_TY]] zeroinitializer // CHECK-DAG: [[KERNEL_PTR:@.+]] = internal addrspace(3) global i8* null // CHECK-DAG: [[KERNEL_SIZE:@.+]] = internal unnamed_addr constant i{{64|32}} 4 // CHECK-DAG: [[KERNEL_SHARED:@.+]] = internal unnamed_addr constant i16 1 |