[llvm-bugs] [Bug 45932] New: [PartialInlining] Assertion "Outlined function cost should be no less than the outlined region" failed

via llvm-bugs llvm-bugs at lists.llvm.org
Fri May 15 00:02:35 PDT 2020


https://bugs.llvm.org/show_bug.cgi?id=45932

            Bug ID: 45932
           Summary: [PartialInlining] Assertion "Outlined function cost
                    should be no less than the outlined region" failed
           Product: libraries
           Version: 10.0
          Hardware: PC
                OS: Linux
            Status: NEW
          Severity: enhancement
          Priority: P
         Component: Scalar Optimizations
          Assignee: unassignedbugs at nondot.org
          Reporter: paulsson at linux.vnet.ibm.com
                CC: llvm-bugs at lists.llvm.org

Created attachment 23489
  --> https://bugs.llvm.org/attachment.cgi?id=23489&action=edit
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 https://bugs.llvm.org/ and include the crash
backtrace, preprocessed source, and associated run script.
...

git e737847

-- 
You are receiving this mail because:
You are on the CC list for the bug.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.llvm.org/pipermail/llvm-bugs/attachments/20200515/e6b980b3/attachment-0001.html>


More information about the llvm-bugs mailing list