[LLVMbugs] [Bug 3465] New: opt -instcombine creates unreadable bitcode file

bugzilla-daemon at cs.uiuc.edu bugzilla-daemon at cs.uiuc.edu
Mon Feb 2 17:43:50 PST 2009


           Summary: opt -instcombine creates unreadable bitcode file
           Product: libraries
           Version: trunk
          Platform: All
        OS/Version: All
            Status: NEW
          Severity: normal
          Priority: P2
         Component: Scalar Optimizations
        AssignedTo: unassignedbugs at nondot.org
        ReportedBy: gohman at apple.com
                CC: llvmbugs at cs.uiuc.edu

In SingleSource/Benchmarks/BenchmarkGame/partialsums,
opt creates a bitcode file which the bitcode reader is unable to
read.  This is reproducible by running opt -instcombine on the
attached partialsums.linked.bc file and then attempting to
llvm-dis the result.

Currently the llvm-dis fails with this assertion:
Assertion failed: (Ty == V->getType() && "Type mismatch in constant table!"),
function getConstantFwdRef, file lib/Bitcode/Reader/BitcodeReader.cpp, line 187

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