<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 --- - [CodeGen] DominatorTree not kept up to date for stack-overflow-in-load-hoisting.ll"
   href="https://llvm.org/bugs/show_bug.cgi?id=26736">26736</a>
          </td>
        </tr>

        <tr>
          <th>Summary</th>
          <td>[CodeGen] DominatorTree not kept up to date for stack-overflow-in-load-hoisting.ll
          </td>
        </tr>

        <tr>
          <th>Product</th>
          <td>Polly
          </td>
        </tr>

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

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

        <tr>
          <th>OS</th>
          <td>Windows XP
          </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>Other
          </td>
        </tr>

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

        <tr>
          <th>Reporter</th>
          <td>llvm@meinersbur.de
          </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=15945" name="attach_15945" title="stack-overflow-in-load-hoisting.ll with added -verify-dom-info">attachment 15945</a> <a href="attachment.cgi?id=15945&action=edit" title="stack-overflow-in-load-hoisting.ll with added -verify-dom-info">[details]</a></span>
stack-overflow-in-load-hoisting.ll with added -verify-dom-info

The test case stack-overflow-in-load-hoisting.ll fails when adding
-verify-dom-info:

DominatorTree is not up to date!
Computed:
=============================--------------------------------
Inorder Dominator Tree: DFSNumbers invalid: 8 slow queries.
  [1] %entry {0,13}
    [2] %for.cond.12.preheader.lr.ph {1,12}
      [3] %polly.split_new_and_old {4294967295,4294967295}
        [4] %polly.preload.begin {4294967295,4294967295}
          [5] %for.body.14.lr.ph {2,11}
            [6] %for.body.14 {3,10}
              [7] %for.end {4,9}
                [8] %if.end.loopexit {5,8}
          [5] %polly.start {4294967295,4294967295}
            [6] %polly.exiting {4294967295,4294967295}
          [5] %polly.merge_new_and_old {4294967295,4294967295}
            [6] %if.end {6,7}

Actual:
=============================--------------------------------
Inorder Dominator Tree:
  [1] %entry {0,21}
    [2] %for.cond.12.preheader.lr.ph {1,20}
      [3] %polly.split_new_and_old {2,19}
        [4] %polly.preload.begin {3,18}
          [5] %polly.start {4,5}
          [5] %for.body.14.lr.ph {6,17}
            [6] %for.body.14 {7,16}
              [7] %for.end {8,15}
                [8] %if.end.loopexit {9,14}
                  [9] %polly.merge_new_and_old {10,13}
                    [10] %if.end {11,12}

This happens when NodeBuilder.preloadInvariantLoads() return false. The
follow-up code does not try to repair the DominatorTree for the stub code.</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>