llvm-project/polly/lib/CodeGen
Michael Kruse ddb6528ba6 Fix reuse of non-dominating synthesized value in subregion exit
We were adding all generated values in non-affine subregions to be used
for the subregions generated exit block. The thought was that only
values that are dominating the original exit block can be used there.
But it is possible for synthesizable values to be expanded in any
block. If the same values is also used for implicit writes, it would
try to reuse already synthesized values even if not dominating the exit
block.

The fix is to only add values to the list of values usable in the exit
block only if it is dominating the exit block. This fixes
llvm.org/PR25412.

llvm-svn: 252301
2015-11-06 13:51:24 +00:00
..
BlockGenerators.cpp Fix reuse of non-dominating synthesized value in subregion exit 2015-11-06 13:51:24 +00:00
CodeGeneration.cpp Remove independent blocks pass 2015-10-18 12:28:00 +00:00
IRBuilder.cpp IRBuilder: Use Map.lookup instead of Map.find [NFC] 2015-10-07 13:35:20 +00:00
IslAst.cpp Remove old and redundant options 2015-11-02 10:13:32 +00:00
IslExprBuilder.cpp [FIX] Use appropriately sized types for big constants 2015-11-03 00:26:22 +00:00
IslNodeBuilder.cpp [FIX] Simplify and correct preloading of base pointer origin 2015-11-03 19:15:33 +00:00
LoopGenerators.cpp Move the ValueMapT declaration out of BlockGenerator 2015-10-07 20:15:56 +00:00
RuntimeDebugBuilder.cpp RunTimeDebugBuilder: Allocate memory _after_ knowing how much is needed 2015-11-05 19:43:34 +00:00
Utils.cpp Fix Codegen adding a second exit out of region 2015-08-18 13:14:42 +00:00