diff options
author | Johannes Doerfert <doerfert@cs.uni-saarland.de> | 2015-09-26 20:57:59 +0000 |
---|---|---|
committer | Johannes Doerfert <doerfert@cs.uni-saarland.de> | 2015-09-26 20:57:59 +0000 |
commit | fb19dd694c24230f2c34f440f87e9d2c8bb2e812 (patch) | |
tree | a6884c6448553ff6b9516dc81bedafa927d0f5b8 /polly/test/Isl/CodeGen/OpenMP/single_loop.ll | |
parent | 8518eb54f3aa48130307563a2bf7f23493e63fca (diff) | |
download | bcm5719-llvm-fb19dd694c24230f2c34f440f87e9d2c8bb2e812.tar.gz bcm5719-llvm-fb19dd694c24230f2c34f440f87e9d2c8bb2e812.zip |
Create parallel code in a separate block
This commit basically reverts r246427 but still solves the issue
tackled by that commit. Instead of emitting initialization code in the
beginning of the start block we now generate parallel code in its own
block and thereby guarantee separation. This is necessary as we cannot
generate code for hoisted loads prior to the start block but it still
needs to be placed prior to everything else.
llvm-svn: 248674
Diffstat (limited to 'polly/test/Isl/CodeGen/OpenMP/single_loop.ll')
-rw-r--r-- | polly/test/Isl/CodeGen/OpenMP/single_loop.ll | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/polly/test/Isl/CodeGen/OpenMP/single_loop.ll b/polly/test/Isl/CodeGen/OpenMP/single_loop.ll index e15a24c1b44..32239031440 100644 --- a/polly/test/Isl/CodeGen/OpenMP/single_loop.ll +++ b/polly/test/Isl/CodeGen/OpenMP/single_loop.ll @@ -30,7 +30,7 @@ ; IR-NEXT: entry ; IR-NEXT: %polly.par.userContext = alloca -; IR-LABEL: polly.start: +; IR-LABEL: polly.parallel.for: ; IR-NEXT: %0 = bitcast {}* %polly.par.userContext to i8* ; IR-NEXT: call void @llvm.lifetime.start(i64 0, i8* %0) ; IR-NEXT: %polly.par.userContext1 = bitcast {}* %polly.par.userContext to i8* |