<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 --- - loop-interchange pass fails during the compilation"
   href="https://llvm.org/bugs/show_bug.cgi?id=26138">26138</a>
          </td>
        </tr>

        <tr>
          <th>Summary</th>
          <td>loop-interchange pass fails during the compilation
          </td>
        </tr>

        <tr>
          <th>Product</th>
          <td>libraries
          </td>
        </tr>

        <tr>
          <th>Version</th>
          <td>trunk
          </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>Scalar Optimizations
          </td>
        </tr>

        <tr>
          <th>Assignee</th>
          <td>unassignedbugs@nondot.org
          </td>
        </tr>

        <tr>
          <th>Reporter</th>
          <td>gareevroman@gmail.com
          </td>
        </tr>

        <tr>
          <th>CC</th>
          <td>llvm-bugs@lists.llvm.org, tobias@grosser.es
          </td>
        </tr>

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

The attached test case produces the following error, if I try to run ‘opt
-loop-interchange test_case.ll’:

Instruction does not dominate all uses!
  %scevgep.promoted = load float, float* %scevgep, align 4,
!alias.scope !1, !noalias !3
  %p_29 = phi float [ %p_, %polly.loop_header21.split ], [
%scevgep.promoted, %polly.loop_header21.preheader ]
LLVM ERROR: Broken function found, compilation aborted!
'main' function not found in module.</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>