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: unassignedb...@nondot.org
          Reporter: pauls...@linux.vnet.ibm.com
                CC: llvm-bugs@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.
_______________________________________________
llvm-bugs mailing list
llvm-bugs@lists.llvm.org
https://lists.llvm.org/cgi-bin/mailman/listinfo/llvm-bugs

Reply via email to