llvm-project/polly/lib/Analysis
Tobias Grosser 6213913244 Use the branch instruction to define the location of a PHI-node write
We use the branch instruction as the location at which a PHI-node write takes
place, instead of the PHI-node itself. This allows us to identify the
basic-block in a region statement which is on the incoming edge of the PHI-node
and for which the write access was originally introduced. As a result we can,
during code generation, avoid generating PHI-node write accesses for basic
blocks that do not preceed the PHI node without having to look at the IR
again.

This change fixes a bug which was introduced in r243420, when we started to
explicitly model PHI-node reads and writes, but dropped some additional checks
that where still necessary during code generation to not emit PHI-node writes
for basic-blocks that are not on incoming edges of the original PHI node.
Compared to the code before r243420 the new code does not need to inspect the IR
any more and we also do not generate multiple redundant writes.

llvm-svn: 243852
2015-08-02 16:17:41 +00:00
..
DependenceInfo.cpp Dependences: Zero pad the schedule map 2015-08-02 13:30:33 +00:00
ScopDetection.cpp Do not detect scops that are delinearized to arrays with "undef" size 2015-07-29 13:52:05 +00:00
ScopDetectionDiagnostic.cpp Add diagnostic for unsigned integer comparisions 2015-05-20 15:37:11 +00:00
ScopGraphPrinter.cpp Adding debug location information to Polly's JSCOP and dot exports 2015-05-03 05:21:36 +00:00
ScopInfo.cpp Use the branch instruction to define the location of a PHI-node write 2015-08-02 16:17:41 +00:00
ScopPass.cpp [Refactor] Add a Scop & as argument to printScop 2015-03-01 18:40:25 +00:00
TempScopInfo.cpp Use the branch instruction to define the location of a PHI-node write 2015-08-02 16:17:41 +00:00