diff options
| author | Alexey Bataev <a.bataev@hotmail.com> | 2020-03-12 12:52:02 -0400 |
|---|---|---|
| committer | Alexey Bataev <a.bataev@hotmail.com> | 2020-03-13 10:47:54 -0400 |
| commit | 172f1460ae05ab5c33c757142c8bdb10acfbdbe1 (patch) | |
| tree | 73a1fea294bdf44d9fd7250ce1353bb9e72aae33 /clang/test/OpenMP/parallel_master_taskloop_simd_firstprivate_codegen.cpp | |
| parent | 6bbc1737e003367d136237d56a7ae02ad4fb1507 (diff) | |
[OPENMP]Reduce number of captured global vars.
Try to reduce the number of global vars captured in the OpenMP regions
by capturing them only the regions, which mark them as not-shared.
Diffstat (limited to 'clang/test/OpenMP/parallel_master_taskloop_simd_firstprivate_codegen.cpp')
| -rw-r--r-- | clang/test/OpenMP/parallel_master_taskloop_simd_firstprivate_codegen.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/clang/test/OpenMP/parallel_master_taskloop_simd_firstprivate_codegen.cpp b/clang/test/OpenMP/parallel_master_taskloop_simd_firstprivate_codegen.cpp index 80897ff1fcfb..689d3bb966cc 100644 --- a/clang/test/OpenMP/parallel_master_taskloop_simd_firstprivate_codegen.cpp +++ b/clang/test/OpenMP/parallel_master_taskloop_simd_firstprivate_codegen.cpp @@ -206,7 +206,7 @@ int main() { // CHECK: [[VAR_REF:%.+]] = getelementptr inbounds [[CAP_MAIN_TY]], [[CAP_MAIN_TY]]* %{{.+}}, i{{[0-9]+}} 0, i{{[0-9]+}} 4 // CHECK: store [[S_DOUBLE_TY]]* %{{.+}}, [[S_DOUBLE_TY]]** [[VAR_REF]], // CHECK: [[SIVAR_REF:%.+]] = getelementptr inbounds [[CAP_MAIN_TY]], [[CAP_MAIN_TY]]* %{{.+}}, i{{[0-9]+}} 0, i{{[0-9]+}} 5 -// CHECK: [[SIVAR_VAL:%.+]] = load i32, i32* %{{.+}}, +// CHECK: [[SIVAR_VAL:%.+]] = load i32, i32* @{{.+}}, // CHECK: store i{{[0-9]+}} [[SIVAR_VAL]], i{{[0-9]+}}* [[SIVAR_REF]], // Allocate task. |
