<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] Schedule does not model irreducible control flow"
   href="https://llvm.org/bugs/show_bug.cgi?id=25909">25909</a>
          </td>
        </tr>

        <tr>
          <th>Summary</th>
          <td>[Polly] Schedule does not model irreducible control flow
          </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=15507" name="attach_15507" title="Irredubicle control flow">attachment 15507</a> <a href="attachment.cgi?id=15507&action=edit" title="Irredubicle control flow">[details]</a></span>
Irredubicle control flow

For a test cast that contains irregular control flow with loops (attached)
we do not generate loop dimensions in the schedule:

        Stmt_start_split
            Domain :=
                [p] -> { Stmt_start_split[] };
            Schedule :=
                [p] -> { Stmt_start_split[] -> [0] };
            MustWriteAccess :=    [Reduction Type: NONE] [Scalar: 1]
                [p] -> { Stmt_start_split[] -> MemRef_cmp[] };
        Stmt_S1
            Domain :=
                [p] -> { Stmt_S1[] : p <= 0 };
            Schedule :=
                [p] -> { Stmt_S1[] -> [1] };
            MustWriteAccess :=    [Reduction Type: NONE] [Scalar: 0]
                [p] -> { Stmt_S1[] -> MemRef_A[0] };
        Stmt_S2
            Domain :=
                [p] -> { Stmt_S2[] : p >= 1 };
            Schedule :=
                [p] -> { Stmt_S2[] -> [2] };
            MustWriteAccess :=    [Reduction Type: NONE] [Scalar: 0]
                [p] -> { Stmt_S2[] -> MemRef_A[0] };

This is likely to be wrong and we should probably just detect irregular control
flow and bail out if found.</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>