summaryrefslogtreecommitdiffstats
path: root/clang/test/OpenMP/nvptx_distribute_parallel_generic_mode_codegen.cpp
diff options
context:
space:
mode:
authorAlexey Bataev <a.bataev@hotmail.com>2018-11-16 19:38:21 +0000
committerAlexey Bataev <a.bataev@hotmail.com>2018-11-16 19:38:21 +0000
commitf2f39be9ed155a6ad8f82bb01cb97202c577d017 (patch)
tree465179cad16c1e0eddba298d99beffcf35fe4141 /clang/test/OpenMP/nvptx_distribute_parallel_generic_mode_codegen.cpp
parente5cb1c35b4ec58c88dc2ef18eec609d67b33ec81 (diff)
downloadbcm5719-llvm-f2f39be9ed155a6ad8f82bb01cb97202c577d017.tar.gz
bcm5719-llvm-f2f39be9ed155a6ad8f82bb01cb97202c577d017.zip
[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. llvm-svn: 347081
Diffstat (limited to 'clang/test/OpenMP/nvptx_distribute_parallel_generic_mode_codegen.cpp')
-rw-r--r--clang/test/OpenMP/nvptx_distribute_parallel_generic_mode_codegen.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/clang/test/OpenMP/nvptx_distribute_parallel_generic_mode_codegen.cpp b/clang/test/OpenMP/nvptx_distribute_parallel_generic_mode_codegen.cpp
index 71a3ad54917..a84962c4d81 100644
--- a/clang/test/OpenMP/nvptx_distribute_parallel_generic_mode_codegen.cpp
+++ b/clang/test/OpenMP/nvptx_distribute_parallel_generic_mode_codegen.cpp
@@ -22,7 +22,7 @@ int main(int argc, char **argv) {
}
// CHECK: [[MEM_TY:%.+]] = type { [84 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}} 84
// CHECK-DAG: @__omp_offloading_{{.*}}_main_l17_exec_mode = weak constant i8 1
OpenPOWER on IntegriCloud