llvm-project/polly/lib/CodeGen
Michael Kruse faedfcbf6d [BlockGenerator] Fix PHI merges for MK_Arrays.
Value merging is only necessary for scalars when they are used outside
of the scop. While an array's base pointer can be used after the scop,
it gets an extra ScopArrayInfo of type MK_Value. We used to generate
phi's for both of them, where one was assuming the reault of the other
phi would be the original value, because it has already been replaced by
the previous phi. This resulted in IR that the current IR verifier
allows, but is probably illegal.

This reduces the number of LNT test-suite fails with
-polly-position=before-vectorizer -polly-process-unprofitable
from 16 to 10.

Also see llvm.org/PR26718.

llvm-svn: 262629
2016-03-03 17:20:43 +00:00
..
BlockGenerators.cpp [BlockGenerator] Fix PHI merges for MK_Arrays. 2016-03-03 17:20:43 +00:00
CodeGeneration.cpp Adapt to LLVM head, again 2016-02-25 17:54:42 +00:00
CodegenCleanup.cpp Fix of r257495. 2016-01-12 20:47:48 +00:00
IRBuilder.cpp Support calls with known ModRef function behaviour 2016-02-25 14:08:48 +00:00
IslAst.cpp Allow the client of DependenceInfo to obtain dependences at different granularities. 2016-03-03 08:15:33 +00:00
IslExprBuilder.cpp ScopInfo: Make getDimensionSize better reflect which dimensions carry sizes 2015-11-10 14:24:21 +00:00
IslNodeBuilder.cpp Fix non-synthesizable loop exit values. 2016-03-01 21:44:06 +00:00
LoopGenerators.cpp Adjust formatting to clang-format changes in 256149 2015-12-21 12:38:56 +00:00
RuntimeDebugBuilder.cpp polly/ADT: Remove implicit ilist iterator conversions, NFC 2015-11-06 22:56:54 +00:00
Utils.cpp executeScopConditionally: Introduce special exiting block 2015-12-09 11:38:22 +00:00