[LLVMbugs] [Bug 10687] New: IPSCCP crashes on extractvalue

bugzilla-daemon at llvm.org bugzilla-daemon at llvm.org
Wed Aug 17 07:02:01 PDT 2011


           Summary: IPSCCP crashes on extractvalue
           Product: new-bugs
           Version: unspecified
          Platform: PC
        OS/Version: Linux
            Status: NEW
          Severity: normal
          Priority: P
         Component: new bugs
        AssignedTo: unassignedbugs at nondot.org
        ReportedBy: baldrick at free.fr
                CC: llvmbugs at cs.uiuc.edu

This is a recent regression; it is the cause of the dragonegg 64 bit buildbot


define void @foo() { 
  %e = extractvalue { i64, i64 } undef, 1
  ret void

To reproduce:

$ opt -ipsccp -disable-output XCoreISelLowering.ll 
opt: llvm/lib/Transforms/Scalar/SCCP.cpp:379: {anonymous}::LatticeVal&
{anonymous}::SCCPSolver::getValueState(llvm::Value*): Assertion
`!V->getType()->isStructTy() && "Should use getStructValueState"' failed.

Configure bugmail: http://llvm.org/bugs/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are on the CC list for the bug.

More information about the llvm-bugs mailing list