<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 --- - Assertion `Headers.size() >= 2 && "Expected irreducible CFG; -loop-info is likely invalid"' failed."
   href="https://llvm.org/bugs/show_bug.cgi?id=28888">28888</a>
          </td>
        </tr>

        <tr>
          <th>Summary</th>
          <td>Assertion `Headers.size() >= 2 && "Expected irreducible CFG; -loop-info is likely invalid"' failed.
          </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>Core LLVM classes
          </td>
        </tr>

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

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

        <tr>
          <th>CC</th>
          <td>dberlin@dberlin.org, llvm-bugs@lists.llvm.org, michael.v.zolotukhin@gmail.com
          </td>
        </tr>

        <tr>
          <th>Blocks</th>
          <td>28315
          </td>
        </tr>

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

Stacktrace here: <a href="https://reviews.llvm.org/P7179">https://reviews.llvm.org/P7179</a>

opt
'-passes=require<targetir>,require<assumptions>,require<scalar-evolution>,require<opt-remark-emit>,loop(unroll),require<block-freq>'
-disable-output $1

(
Does not reproduce with old PM (loop-vectorize was the thing that used
block-freq):
opt -loop-unroll -loop-vectorize -disable-output $1
)

The test case is still quite large, but it seems like the best that bugpoint
can currently do. DannyB, this might be a useful test case for any new magic in
bugpoint.

Michael Z., if you have a moment, could you look at this?</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>