llvm-project/polly/lib/CodeGen
Michael Kruse 163cacb469 [CodeGen] Detect empty domain because of parameters context.
Isl does not allow generating isl_ast_expr from an isl_pw_aff that has an
empty domain (i.e. has no pieces). We already detected the case if the
isl_pw_aff comes with an empty domain.

isl_ast_build also considers the domain empty if it is disjoint with the
parameter context (e.g. parameters values that we exclude by runtime
versioning).

Intersect the access relation domain with the parameter context to
also detect such practically empty access domains. The effective
pointer used in the generated code is unimportand because it will never
be executed.

This fixes llvm.org/PR35362

llvm-svn: 318806
2017-11-21 22:11:10 +00:00
..
BlockGenerators.cpp Run polly-update-format. NFC. 2017-11-21 19:25:26 +00:00
CodeGeneration.cpp Check whether IslAstInfo and DependenceInfo were computed for the same Scop. 2017-09-21 00:01:13 +00:00
CodegenCleanup.cpp [CodegenCleanup] Update cleanup passes according (old) PassManagerBuilder. 2017-09-09 21:43:49 +00:00
IRBuilder.cpp [IRBuilder] Only emit alias scop metadata for arrays, but not scalars 2017-08-22 21:58:48 +00:00
IslAst.cpp Run polly-update-format. NFC. 2017-11-21 19:25:26 +00:00
IslExprBuilder.cpp [IslExprBuilder] Do not generate RTC with more than 64 bit 2017-09-23 15:32:07 +00:00
IslNodeBuilder.cpp [CodeGen] Detect empty domain because of parameters context. 2017-11-21 22:11:10 +00:00
LoopGenerators.cpp Fix the build after r314375 2017-09-28 12:20:24 +00:00
ManagedMemoryRewrite.cpp [ManagedMemoryRewrite] Use `unit64_t` to store size, not `int`. 2017-08-22 09:30:37 +00:00
PPCGCodeGeneration.cpp Run polly-update-format. NFC. 2017-11-21 19:25:26 +00:00
PerfMonitor.cpp Fix a lot of typos. NFC. 2017-06-08 12:06:15 +00:00
RuntimeDebugBuilder.cpp Update for alloca construction changes 2017-04-11 00:12:58 +00:00
Utils.cpp [PPCGCodeGeneration] Fix runtime check adjustments since they make assumptions about BB layout. 2017-07-14 10:00:25 +00:00