<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 - [PartialInlining] Assertion "Outlined function cost should be no less than the outlined region" failed"
   href="https://bugs.llvm.org/show_bug.cgi?id=45932">45932</a>
          </td>
        </tr>

        <tr>
          <th>Summary</th>
          <td>[PartialInlining] Assertion "Outlined function cost should be no less than the outlined region" failed
          </td>
        </tr>

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

        <tr>
          <th>Version</th>
          <td>10.0
          </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>enhancement
          </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>paulsson@linux.vnet.ibm.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=23489" name="attach_23489" title="testcase">attachment 23489</a> <a href="attachment.cgi?id=23489&action=edit" title="testcase">[details]</a></span>
testcase

clang -O3 -march=z13 crash0.i -o a.out -w -mllvm -enable-partial-inlining
-mllvm -enable-coldcc-stress-test -mllvm -enable-knowledge-retention -mllvm
-inline-threshold=450

llvm-project/llvm/lib/Transforms/IPO/PartialInlining.cpp:906: std::tuple<int,
int>
{anonymous}::PartialInlinerImpl::computeOutliningCosts({anonymous}::PartialInliner
Impl::FunctionCloner&): Assertion `OutlinedFunctionCost >=
Cloner.OutlinedRegionCost && "Outlined function cost should be no less than the
outlined region"' failed.
PLEASE submit a bug report to <a href="https://bugs.llvm.org/">https://bugs.llvm.org/</a> and include the crash
backtrace, preprocessed source, and associated run script.
...

git e737847</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>