diff options
| author | Alexey Bataev <a.bataev@hotmail.com> | 2017-12-04 21:30:42 +0000 |
|---|---|---|
| committer | Alexey Bataev <a.bataev@hotmail.com> | 2017-12-04 21:30:42 +0000 |
| commit | c2e88a8a6b03b7cdbeef807b60f030ba10abcfa8 (patch) | |
| tree | 4657c5ccbbffd8d145243e8ce72597a70898bb22 /clang/test/OpenMP/distribute_firstprivate_codegen.cpp | |
| parent | 68ba772cc0fcc2997f0e7827dd01f42f85161b7d (diff) | |
| download | bcm5719-llvm-c2e88a8a6b03b7cdbeef807b60f030ba10abcfa8.tar.gz bcm5719-llvm-c2e88a8a6b03b7cdbeef807b60f030ba10abcfa8.zip | |
[OPENMP] Fix PR35486: crash when collapsing loops with dependent iteration spaces.
Though it is incorrect from point of view of OpenMP standard to have
dependent iteration space in OpenMP loops, compiler should not crash.
Patch fixes this problem.
llvm-svn: 319700
Diffstat (limited to 'clang/test/OpenMP/distribute_firstprivate_codegen.cpp')
| -rw-r--r-- | clang/test/OpenMP/distribute_firstprivate_codegen.cpp | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/clang/test/OpenMP/distribute_firstprivate_codegen.cpp b/clang/test/OpenMP/distribute_firstprivate_codegen.cpp index 718fc875254..eaeb46988e5 100644 --- a/clang/test/OpenMP/distribute_firstprivate_codegen.cpp +++ b/clang/test/OpenMP/distribute_firstprivate_codegen.cpp @@ -222,6 +222,7 @@ int main() { // CHECK: {{.*}} = alloca i{{[0-9]+}}, // CHECK: {{.*}} = alloca i{{[0-9]+}}, // CHECK: {{.*}} = alloca i{{[0-9]+}}, +// CHECK: {{.*}} = alloca i{{[0-9]+}}, // CHECK-DAG: [[T_VAR_PRIV:%.+]] = alloca i{{[0-9]+}}, // CHECK-DAG: [[VEC_PRIV:%.+]] = alloca [2 x i{{[0-9]+}}], @@ -318,6 +319,7 @@ int main() { // CHECK: {{.*}} = alloca i{{[0-9]+}}, // CHECK: {{.*}} = alloca i{{[0-9]+}}, // CHECK: {{.*}} = alloca i{{[0-9]+}}, +// CHECK: {{.*}} = alloca i{{[0-9]+}}, // CHECK-DAG: [[T_VAR_PRIV:%.+]] = alloca i{{[0-9]+}}, // CHECK-DAG: [[VEC_PRIV:%.+]] = alloca [2 x i{{[0-9]+}}], |

