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: unassignedb...@nondot.org
          Reporter: mikael.hol...@ericsson.com
                CC: llvm-bugs@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.
_______________________________________________
llvm-bugs mailing list
llvm-bugs@lists.llvm.org
http://lists.llvm.org/cgi-bin/mailman/listinfo/llvm-bugs

Reply via email to