diff options
author | Alexey Bataev <a.bataev@hotmail.com> | 2019-09-16 22:17:10 +0000 |
---|---|---|
committer | Alexey Bataev <a.bataev@hotmail.com> | 2019-09-16 22:17:10 +0000 |
commit | 22f95adeb6ef0ac770dd54fad0bbb91ef9cec634 (patch) | |
tree | 00613e1432526f6d6243a639df8a341c8090965e | |
parent | 5f5c648f246380ad993069c4993fdae73a3002e8 (diff) | |
download | clang-22f95adeb6ef0ac770dd54fad0bbb91ef9cec634.tar.gz |
[OPENMP]Fix the test, NFC.
git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@372040 91177308-0d34-0410-b5e6-96231b3b80d8
-rw-r--r-- | test/OpenMP/parallel_for_codegen.cpp | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/test/OpenMP/parallel_for_codegen.cpp b/test/OpenMP/parallel_for_codegen.cpp index e4e76060e7..0f4fd3ae22 100644 --- a/test/OpenMP/parallel_for_codegen.cpp +++ b/test/OpenMP/parallel_for_codegen.cpp @@ -19,6 +19,7 @@ #ifndef HEADER #define HEADER +#ifndef OMP5 // CHECK-DAG: [[IDENT_T_TY:%.+]] = type { i32, i32, i32, i32, i8* } // CHECK-DAG: [[LOOP_LOC:@.+]] = private unnamed_addr global [[IDENT_T_TY]] { i32 0, i32 514, i32 0, i32 0, i8* @@ -383,7 +384,7 @@ void parallel_for(float *a, const int n) { // TERM_DEBUG-DAG: [[DBG_LOC_START]] = !DILocation(line: [[@LINE-4]], // TERM_DEBUG-DAG: [[DBG_LOC_END]] = !DILocation(line: [[@LINE-18]], -#ifdef OMP5 +#else // OMP5 // OMP5-DAG: [[IDENT_T_TY:%.+]] = type { i32, i32, i32, i32, i8* } // OMP5-DAG: [[LOOP_LOC:@.+]] = private unnamed_addr global [[IDENT_T_TY]] { i32 0, i32 514, i32 0, i32 0, i8* @@ -467,7 +468,7 @@ int decrement_nowait () { return 0; // OMP5: ret i32 0 } -#endif +#endif // OMP5 #endif // HEADER |