<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 --- - BranchProbability.h:35: llvm::BranchProbability::BranchProbability(uint32_t, uint32_t): Assertion `n <= d && "Probability cannot be bigger than 1!"' failed."
   href="https://llvm.org/bugs/show_bug.cgi?id=24377">24377</a>
          </td>
        </tr>

        <tr>
          <th>Summary</th>
          <td>BranchProbability.h:35: llvm::BranchProbability::BranchProbability(uint32_t, uint32_t): Assertion `n <= d && "Probability cannot be bigger than 1!"' 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>Common Code Generator Code
          </td>
        </tr>

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

        <tr>
          <th>Reporter</th>
          <td>hfinkel@anl.gov
          </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=14702" name="attach_14702" title="bugpoint reduced test case">attachment 14702</a> <a href="attachment.cgi?id=14702&action=edit" title="bugpoint reduced test case">[details]</a></span>
bugpoint reduced test case

Running llc on the attached (bugpoint-reduced) test case hits this assertion:

/src/llvm/include/llvm/Support/BranchProbability.h:35:
llvm::BranchProbability::BranchProbability(uint32_t, uint32_t): Assertion `n <=
d && "Probability cannot be bigger than 1!"' failed.

Reproduced on trunk, the problem was introduced sometime after r242865.</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>