diff options
author | Alexey Bataev <a.bataev@hotmail.com> | 2017-12-08 20:18:58 +0000 |
---|---|---|
committer | Alexey Bataev <a.bataev@hotmail.com> | 2017-12-08 20:18:58 +0000 |
commit | e83b3e89e68397934784f898f46fa93d0006cfa0 (patch) | |
tree | 9df7191ec3d1b00463a4872d5f1a5339f2adc182 /clang/test/OpenMP/for_codegen.cpp | |
parent | 7f0d456ef8b2500257f3ed9b936fb014fbd29b8b (diff) | |
download | bcm5719-llvm-e83b3e89e68397934784f898f46fa93d0006cfa0.tar.gz bcm5719-llvm-e83b3e89e68397934784f898f46fa93d0006cfa0.zip |
[OPENMP] Simplify codegen for loop iteration variables in loop preamble.
Initial patch could cause trouble in the optimized code because of the
incorrectly generated lifetime intrinsics.
llvm-svn: 320191
Diffstat (limited to 'clang/test/OpenMP/for_codegen.cpp')
-rw-r--r-- | clang/test/OpenMP/for_codegen.cpp | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/clang/test/OpenMP/for_codegen.cpp b/clang/test/OpenMP/for_codegen.cpp index 6d719f4486a..1f5dd7ddd0d 100644 --- a/clang/test/OpenMP/for_codegen.cpp +++ b/clang/test/OpenMP/for_codegen.cpp @@ -386,7 +386,9 @@ void parallel_for(float *a) { char i = 1, j = 2, k = 3; // CHECK-LABEL: for_with_global_lcv void for_with_global_lcv() { +// CHECK: alloca i8, // CHECK: [[I_ADDR:%.+]] = alloca i8, +// CHECK: alloca i8, // CHECK: [[J_ADDR:%.+]] = alloca i8, // CHECK: call void @__kmpc_for_static_init_4( |