[llvm-bugs] [Bug 37780] New: lib/Transforms/Scalar/SCCP.cpp:1996: bool llvm::runIPSCCP(llvm::Module &, const llvm::DataLayout &, const llvm::TargetLibraryInfo *): Assertion `Folded && "Expect TermInst on constantint or blockaddress to be folded"' failed. with -ipsccp

via llvm-bugs llvm-bugs at lists.llvm.org
Tue Jun 12 05:42:03 PDT 2018


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

            Bug ID: 37780
           Summary: lib/Transforms/Scalar/SCCP.cpp:1996: bool
                    llvm::runIPSCCP(llvm::Module &, const llvm::DataLayout
                    &, const llvm::TargetLibraryInfo *): Assertion `Folded
                    && "Expect TermInst on constantint or blockaddress to
                    be folded"' failed. with -ipsccp
           Product: new-bugs
           Version: unspecified
          Hardware: PC
                OS: Linux
            Status: NEW
          Severity: enhancement
          Priority: P
         Component: new bugs
          Assignee: unassignedbugs at nondot.org
          Reporter: mikael.holmen at ericsson.com
                CC: llvm-bugs at lists.llvm.org

Running:
 opt -S -o - bbi-14632.ll -ipsccp

yields

opt: ../lib/Transforms/Scalar/SCCP.cpp:1978: bool llvm::runIPSCCP(llvm::Module
&, const llvm::DataLayout &, const llvm::TargetLibraryInfo *): Assertion
`Folded && "Expect TermInst on constantint or blockaddress to be folded"'
failed.

This is not new, I've found it in old binaries built from trunk in March 2017
and on older builds it crashed with another assert.

-- 
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/20180612/6d165357/attachment.html>


More information about the llvm-bugs mailing list