summaryrefslogtreecommitdiffstats
path: root/clang/test/OpenMP/parallel_for_linear_codegen.cpp
diff options
context:
space:
mode:
authorAlexey Bataev <a.bataev@hotmail.com>2017-12-08 20:18:58 +0000
committerAlexey Bataev <a.bataev@hotmail.com>2017-12-08 20:18:58 +0000
commite83b3e89e68397934784f898f46fa93d0006cfa0 (patch)
tree9df7191ec3d1b00463a4872d5f1a5339f2adc182 /clang/test/OpenMP/parallel_for_linear_codegen.cpp
parent7f0d456ef8b2500257f3ed9b936fb014fbd29b8b (diff)
downloadbcm5719-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/parallel_for_linear_codegen.cpp')
-rw-r--r--clang/test/OpenMP/parallel_for_linear_codegen.cpp2
1 files changed, 2 insertions, 0 deletions
diff --git a/clang/test/OpenMP/parallel_for_linear_codegen.cpp b/clang/test/OpenMP/parallel_for_linear_codegen.cpp
index 6e7a05991a7..2c3cfddbd57 100644
--- a/clang/test/OpenMP/parallel_for_linear_codegen.cpp
+++ b/clang/test/OpenMP/parallel_for_linear_codegen.cpp
@@ -55,6 +55,7 @@ int main() {
// LAMBDA: alloca i{{[0-9]+}},
// LAMBDA: alloca i{{[0-9]+}},
// LAMBDA: alloca i{{[0-9]+}},
+ // LAMBDA: alloca i{{[0-9]+}},
// LAMBDA: [[G_PRIVATE_ADDR:%.+]] = alloca i{{[0-9]+}},
// LAMBDA: store i32 0,
// LAMBDA: [[GTID_REF:%.+]] = load i{{[0-9]+}}*, i{{[0-9]+}}** %{{.+}}
@@ -102,6 +103,7 @@ int main() {
// BLOCKS: alloca i{{[0-9]+}},
// BLOCKS: alloca i{{[0-9]+}},
// BLOCKS: alloca i{{[0-9]+}},
+ // BLOCKS: alloca i{{[0-9]+}},
// BLOCKS: [[G_PRIVATE_ADDR:%.+]] = alloca i{{[0-9]+}},
// BLOCKS: store i32 0,
// BLOCKS: [[GTID_REF:%.+]] = load i{{[0-9]+}}*, i{{[0-9]+}}** %{{.+}}
OpenPOWER on IntegriCloud