<html>
    <head>
      <base href="https://llvm.org/bugs/" />
    </head>
    <body><table border="1" cellspacing="0" cellpadding="8">
        <tr>
          <th>Bug ID</th>
          <td><a class="bz_bug_link 
          bz_status_NEW "
   title="NEW --- - [Polly] Construction of Boundary Context is very expensive"
   href="https://llvm.org/bugs/show_bug.cgi?id=25471">25471</a>
          </td>
        </tr>

        <tr>
          <th>Summary</th>
          <td>[Polly] Construction of Boundary Context is very expensive
          </td>
        </tr>

        <tr>
          <th>Product</th>
          <td>Projects
          </td>
        </tr>

        <tr>
          <th>Version</th>
          <td>unspecified
          </td>
        </tr>

        <tr>
          <th>Hardware</th>
          <td>PC
          </td>
        </tr>

        <tr>
          <th>OS</th>
          <td>Linux
          </td>
        </tr>

        <tr>
          <th>Status</th>
          <td>NEW
          </td>
        </tr>

        <tr>
          <th>Severity</th>
          <td>normal
          </td>
        </tr>

        <tr>
          <th>Priority</th>
          <td>P
          </td>
        </tr>

        <tr>
          <th>Component</th>
          <td>Polly
          </td>
        </tr>

        <tr>
          <th>Assignee</th>
          <td>polly-dev@googlegroups.com
          </td>
        </tr>

        <tr>
          <th>Reporter</th>
          <td>tobias@grosser.es
          </td>
        </tr>

        <tr>
          <th>CC</th>
          <td>llvm-bugs@lists.llvm.org
          </td>
        </tr>

        <tr>
          <th>Classification</th>
          <td>Unclassified
          </td>
        </tr></table>
      <p>
        <div>
        <pre>Created <span class=""><a href="attachment.cgi?id=15255" name="attach_15255" title="Test case">attachment 15255</a> <a href="attachment.cgi?id=15255&action=edit" title="Test case">[details]</a></span>
Test case

With <a href="https://llvm.org/svn/llvm-project/polly/trunk@252540">https://llvm.org/svn/llvm-project/polly/trunk@252540</a> 'polly-opt
-polly-scops -analyze expensive-boundary-context.ll' takes a very long time or
even aborts compilation. My current understanding is the assumptions we derive
are stored very efficiently as disjuncts, but when isl_set_complement is called 
in Scop::buildBoundaryContext the set that is constructed becomes extremely
large. It might make sense to keep the boundary constraints as disjuncts and
directly generate a run-time check from these disjuncts.

This test case took about a day to be automatically reduced from one of the LNT
benchmarks currently failing. It is the result from me setting up bugpoint to
minimize a miscompile. During this reduction bugpoint run at some point in this
compile time problem and reduced this test case instead of the original
miscompile.</pre>
        </div>
      </p>
      <hr>
      <span>You are receiving this mail because:</span>
      
      <ul>
          <li>You are on the CC list for the bug.</li>
      </ul>
    </body>
</html>