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_reduction_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_reduction_codegen.cpp')
-rw-r--r-- | clang/test/OpenMP/parallel_reduction_codegen.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/clang/test/OpenMP/parallel_reduction_codegen.cpp b/clang/test/OpenMP/parallel_reduction_codegen.cpp index c064ed07121..bd43a9328af 100644 --- a/clang/test/OpenMP/parallel_reduction_codegen.cpp +++ b/clang/test/OpenMP/parallel_reduction_codegen.cpp @@ -84,7 +84,7 @@ struct SST { // BLOCKS: [[SS_TY:%.+]] = type { i{{[0-9]+}}, i8 // CHECK-DAG: [[S_FLOAT_TY:%.+]] = type { float } // CHECK-DAG: [[S_INT_TY:%.+]] = type { i{{[0-9]+}} } -// CHECK-DAG: [[REDUCTION_LOC:@.+]] = private unnamed_addr constant %{{.+}} { i32 0, i32 18, i32 0, i32 0, i8* +// CHECK-DAG: [[REDUCTION_LOC:@.+]] = private unnamed_addr global %{{.+}} { i32 0, i32 18, i32 0, i32 0, i8* // CHECK-DAG: [[REDUCTION_LOCK:@.+]] = common global [8 x i32] zeroinitializer //CHECK: foo_array_sect |