llvm-project/polly/test
Tobias Grosser a77cea49d1 Always model PHI nodes in scop (if not in same nonaffine subregion)
Before we only modeled PHI nodes if at least one incoming basic block was itself
part of the region, now we always model them except if all of their operands are
part of a single non-affine subregion which we model as a black-box.

This change only affects PHI nodes in the entry block, that have exactly one
incoming edge. Before this change, we did not model them and as a result code
generation would not know how to code generate them. With this change, code
generation can code generate them like any other PHI node.

This issue was exposed by r244606. Before this change simplifyRegion would have
moved these PHI nodes out of the SCoP, so we would never have tried to code
generate them. We could implement this behavior again, but changing the IR
after the scop has been modeled and transformed always adds a risk of us
invalidating earlier analysis results. It seems more save and overall also more
consistent to just model and handle this one-entry-edge PHI nodes like any
other PHI node in the scop.

Solution proposed by:  Michael Kruse  <llvm@meinersbur.de>

llvm-svn: 244721
2015-08-12 07:48:54 +00:00
..
DeadCodeElimination Use schedule trees to represent execution order of statements 2015-07-14 09:33:13 +00:00
DependenceInfo Dependences: Zero pad the schedule map 2015-08-02 13:30:33 +00:00
IndependentBlocks Remove code for scalar and PHI to array translation 2015-06-26 07:31:18 +00:00
Isl Always model PHI nodes in scop (if not in same nonaffine subregion) 2015-08-12 07:48:54 +00:00
ScheduleOptimizer Rewrite getPrevectorMap using schedule trees operations 2015-07-28 18:03:36 +00:00
ScopDetect Add test case with PHI node in exit block 2015-08-10 16:17:59 +00:00
ScopDetectionDiagnostics Update testcases after LLVM r243885 2015-08-03 17:28:43 +00:00
ScopInfo Update isl to isl-0.15-117-ge42acfe 2015-08-11 11:31:18 +00:00
TempScop Remove code for scalar and PHI to array translation 2015-06-26 07:31:18 +00:00
CMakeLists.txt Unify FOLDER property of Polly targets 2015-07-21 12:40:01 +00:00
Makefile Normalize whitespace in makefiles 2015-07-24 23:30:31 +00:00
README
create_ll.sh Small change to create_ll.sh [NFC] 2015-03-08 15:36:27 +00:00
lit.cfg Make the lit configuration Python 3 compatible 2015-07-24 20:33:22 +00:00
lit.site.cfg.in Make the lit configuration Python 3 compatible 2015-07-24 20:33:22 +00:00
polly.ll Remove target triples from test cases 2015-04-21 14:28:02 +00:00

README

place tests here