[llvm-bugs] [Bug 51600] New: opt -passes='function-specialization' crashes with Assertion `I != ValueState.end() && "V not found in ValueState nor Paramstate map!"' failed.

via llvm-bugs llvm-bugs at lists.llvm.org
Tue Aug 24 05:50:11 PDT 2021


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

            Bug ID: 51600
           Summary: opt -passes='function-specialization' crashes with
                    Assertion `I != ValueState.end() && "V not found in
                    ValueState nor Paramstate map!"' failed.
           Product: libraries
           Version: trunk
          Hardware: PC
                OS: Linux
            Status: NEW
          Severity: enhancement
          Priority: P
         Component: Interprocedural Optimizations
          Assignee: unassignedbugs at nondot.org
          Reporter: mikael.holmen at ericsson.com
                CC: llvm-bugs at lists.llvm.org

Created attachment 25185
  --> https://bugs.llvm.org/attachment.cgi?id=25185&action=edit
bbi-59059.ll

llvm commit: ebf35370ff596

Reproduce with:
 opt -passes='function-specialization' -o - -S bbi-59059.ll

Result:
opt: ../lib/Transforms/Utils/SCCPSolver.cpp:423: const
llvm::ValueLatticeElement
&llvm::SCCPInstVisitor::getLatticeValueFor(llvm::Value *) const: Assertion `I
!= ValueState.end() && "V not found in ValueState nor Paramstate map!"' failed.

-- 
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/20210824/ddfe7fb2/attachment.html>


More information about the llvm-bugs mailing list