~pali/llvm/polly-trunk

Viewing all changes in revision 3852.

  • Committer: meinersbur
  • Date: 2018-08-01 22:28:32 UTC
  • Revision ID: svn-v4:91177308-0d34-0410-b5e6-96231b3b80d8:polly/trunk:338646
[ScopBuilder] Set domain to empty instead of NULL.

The domain generation used nullptr to mark the domain of an error block
as never-executed. Later, nullptr domains are recreated with a
zero-tuple domain that then mismatches with the expected domain the
error block within the loop.

Instead of using nullptr, assign an empty domain which preserves the
expected space. Remove empty domains during SCoP simplification.

Fixes llvm.org/PR38218.

expand all expand all

Show diffs side-by-side

added added

removed removed

Lines of Context: