diff options
author | Alexey Bataev <a.bataev@hotmail.com> | 2019-09-17 17:44:27 +0000 |
---|---|---|
committer | Alexey Bataev <a.bataev@hotmail.com> | 2019-09-17 17:44:27 +0000 |
commit | 5801e6257627378e414d1a0d6be68aa71f67ef28 (patch) | |
tree | 7113420ac8a5ab9d7d3c9b72dc2d0b48112ed411 /clang/test/OpenMP/parallel_for_codegen.cpp | |
parent | bf5d4290943b8a4da873987be7b8fd47b8cfdcb9 (diff) | |
download | bcm5719-llvm-5801e6257627378e414d1a0d6be68aa71f67ef28.tar.gz bcm5719-llvm-5801e6257627378e414d1a0d6be68aa71f67ef28.zip |
[OPENMP] Rework the test, NFC.
llvm-svn: 372148
Diffstat (limited to 'clang/test/OpenMP/parallel_for_codegen.cpp')
-rw-r--r-- | clang/test/OpenMP/parallel_for_codegen.cpp | 4 |
1 files changed, 1 insertions, 3 deletions
diff --git a/clang/test/OpenMP/parallel_for_codegen.cpp b/clang/test/OpenMP/parallel_for_codegen.cpp index 0f8f77cd09a..4329dd4f939 100644 --- a/clang/test/OpenMP/parallel_for_codegen.cpp +++ b/clang/test/OpenMP/parallel_for_codegen.cpp @@ -387,14 +387,12 @@ void parallel_for(float *a, const int n) { // TERM_DEBUG-DAG: [[DBG_LOC_END]] = !DILocation(line: [[@LINE-18]], #else // OMP5 -// OMP5: [[LOOP_LOC:@.+]] = private unnamed_addr global %struct.ident_t { i32 0, i32 514, i32 0, i32 0, i8* - // OMP5-LABEL: increment int increment () { // OMP5: [[GTID:%.+]] = call i32 @__kmpc_global_thread_num(%struct.ident_t* [[DEFAULT_LOC:[@%].+]]) #pragma omp for // Determine UB = min(UB, GlobalUB) -// OMP5: call void @__kmpc_for_static_init_4(%struct.ident_t* [[LOOP_LOC]], i32 [[GTID]], i32 34, i32* [[IS_LAST:%[^,]+]], i32* [[OMP_LB:%[^,]+]], i32* [[OMP_UB:%[^,]+]], i32* [[OMP_ST:%[^,]+]], i32 1, i32 1) +// OMP5: call void @__kmpc_for_static_init_4(%struct.ident_t* [[LOOP_LOC:[@%].+]], i32 [[GTID]], i32 34, i32* [[IS_LAST:%[^,]+]], i32* [[OMP_LB:%[^,]+]], i32* [[OMP_UB:%[^,]+]], i32* [[OMP_ST:%[^,]+]], i32 1, i32 1) // OMP5-NEXT: [[UB:%.+]] = load i32, i32* [[OMP_UB]] // OMP5-NEXT: [[UBCMP:%.+]] = icmp sgt i32 [[UB]], 4 // OMP5-NEXT: br i1 [[UBCMP]], label [[UB_TRUE:%[^,]+]], label [[UB_FALSE:%[^,]+]] |