llvm-project/polly/lib/CodeGen
Tobias Grosser d0b9173caa IslAst: always use the context during ast generation
Providing the context to the ast generator allows for additional simplifcations
and -- more importantly -- allows to generate loops with only partially bounded
domains, assuming the domains are bounded for all parameter configurations
that are valid as defined by the context.

This change fixes the crash reported in http://llvm.org/PR30956

The original reason why we did not include the context when generating an
AST was that CLooG and later isl used to sometimes transfer some of the
constraints that bound the size of parameters from the context into the
generated AST. This resulted in operations with very large constants, which
sometimes introduced problematic integer overflows. The latest versions of
the isl AST generator are careful to not introduce such constants.

Reported-by: Eli Friedman <efriedma@codeaurora.org>
llvm-svn: 286442
2016-11-10 09:39:58 +00:00
..
BlockGenerators.cpp [Polly CodeGen] Break critical edge from RTC to original loop. 2016-11-02 22:32:23 +00:00
CodeGeneration.cpp [Polly CodeGen] Break critical edge from RTC to original loop. 2016-11-02 22:32:23 +00:00
CodegenCleanup.cpp Try to fix polly buildbots. 2016-07-06 02:21:00 +00:00
IRBuilder.cpp Perform copying to created arrays according to the packing transformation 2016-09-14 06:26:09 +00:00
IslAst.cpp IslAst: always use the context during ast generation 2016-11-10 09:39:58 +00:00
IslExprBuilder.cpp [Polly CodeGen] Break critical edge from RTC to original loop. 2016-11-02 22:32:23 +00:00
IslNodeBuilder.cpp IslNodeBuilder: Ensure newly generated memory accesses are well-defined 2016-11-05 21:46:01 +00:00
LoopGenerators.cpp clang-tidy: apply modern-use-nullptr fixes 2016-06-22 16:22:00 +00:00
PPCGCodeGeneration.cpp [Polly CodeGen] Break critical edge from RTC to original loop. 2016-11-02 22:32:23 +00:00
RuntimeDebugBuilder.cpp Update for llvm r274769 2016-07-07 18:03:30 +00:00
Utils.cpp [Polly CodeGen] Break critical edge from RTC to original loop. 2016-11-02 22:32:23 +00:00