<html>
    <head>
      <base href="https://bugs.llvm.org/">
    </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 - Simplify CFG pass generatres invalid IR when -bonus-inst-threshold=2"
   href="https://bugs.llvm.org/show_bug.cgi?id=48450">48450</a>
          </td>
        </tr>

        <tr>
          <th>Summary</th>
          <td>Simplify CFG pass generatres invalid IR when -bonus-inst-threshold=2
          </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>Transformation Utilities
          </td>
        </tr>

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

        <tr>
          <th>Reporter</th>
          <td>markus.lavin@ericsson.com
          </td>
        </tr>

        <tr>
          <th>CC</th>
          <td>llvm-bugs@lists.llvm.org
          </td>
        </tr></table>
      <p>
        <div>
        <pre>Created <span class=""><a href="attachment.cgi?id=24251" name="attach_24251" title="Reproducer input.">attachment 24251</a> <a href="attachment.cgi?id=24251&action=edit" title="Reproducer input.">[details]</a></span>
Reproducer input.

opt -mcpu=phoenixIV -simplifycfg -bonus-inst-threshold=2 input.ll -S
-verify-each

Instruction does not dominate all uses!
  %dec = add nsw i16 %i.01, -1
  %i.01 = phi i16 [ %dec, %for.bodythread-pre-split ], [ 1, %entry ]
in function f
LLVM ERROR: Broken function found, compilation aborted!</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>