diff options
| author | Mike Rice <michael.p.rice@intel.com> | 2018-08-29 15:45:11 +0000 |
|---|---|---|
| committer | Mike Rice <michael.p.rice@intel.com> | 2018-08-29 15:45:11 +0000 |
| commit | e1ca7b614fc81d7d49172978c8de67832a652aa4 (patch) | |
| tree | 947a69cd878f1249ec9c162879da20a97b46698b /clang/test/OpenMP/parallel_for_codegen.cpp | |
| parent | 3abd9f6bdce8f9f9eabe1a7097902bb22b5ceaaf (diff) | |
| download | bcm5719-llvm-e1ca7b614fc81d7d49172978c8de67832a652aa4.tar.gz bcm5719-llvm-e1ca7b614fc81d7d49172978c8de67832a652aa4.zip | |
[OPENMP] Create non-const ident_t objects.
Currently ident_t objects are created const when debug info is not
enabled, but the libittnotify libray in the OpenMP runtime writes to
the reserved_2 field (See __kmp_itt_region_forking in
openmp/runtime/src/kmp_itt.inl). Now create ident_t objects non-const.
Differential Revision: https://reviews.llvm.org/D51331
llvm-svn: 340934
Diffstat (limited to 'clang/test/OpenMP/parallel_for_codegen.cpp')
| -rw-r--r-- | clang/test/OpenMP/parallel_for_codegen.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/clang/test/OpenMP/parallel_for_codegen.cpp b/clang/test/OpenMP/parallel_for_codegen.cpp index e6199f00eab..0f70728a90a 100644 --- a/clang/test/OpenMP/parallel_for_codegen.cpp +++ b/clang/test/OpenMP/parallel_for_codegen.cpp @@ -15,7 +15,7 @@ #define HEADER // CHECK-DAG: [[IDENT_T_TY:%.+]] = type { i32, i32, i32, i32, i8* } -// CHECK-DAG: [[LOOP_LOC:@.+]] = private unnamed_addr constant [[IDENT_T_TY]] { i32 0, i32 514, i32 0, i32 0, i8* +// CHECK-DAG: [[LOOP_LOC:@.+]] = private unnamed_addr global [[IDENT_T_TY]] { i32 0, i32 514, i32 0, i32 0, i8* // CHECK-LABEL: with_var_schedule void with_var_schedule() { |

