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_lastprivate_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_lastprivate_codegen.cpp')
-rw-r--r-- | clang/test/OpenMP/for_lastprivate_codegen.cpp | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/clang/test/OpenMP/for_lastprivate_codegen.cpp b/clang/test/OpenMP/for_lastprivate_codegen.cpp index 7054c0e1c5a..30a17eaf581 100644 --- a/clang/test/OpenMP/for_lastprivate_codegen.cpp +++ b/clang/test/OpenMP/for_lastprivate_codegen.cpp @@ -614,6 +614,7 @@ int main() { // CHECK: ret void // CHECK: define internal void [[MAIN_MICROTASK3]](i{{[0-9]+}}* noalias [[GTID_ADDR:%.+]], i{{[0-9]+}}* noalias %{{.+}}) +// CHECK: alloca i8, // CHECK: [[CNT_PRIV:%.+]] = alloca i8, // CHECK: [[GTID_REF:%.+]] = load i{{[0-9]+}}*, i{{[0-9]+}}** [[GTID_ADDR_REF]] |