[LLVMbugs] [Bug 905] NEW: instcombine assertion error (Invalid structure index)

bugzilla-daemon at cs.uiuc.edu bugzilla-daemon at cs.uiuc.edu
Mon Sep 11 12:07:08 PDT 2006


http://llvm.org/bugs/show_bug.cgi?id=905

           Summary: instcombine assertion error (Invalid structure index)
           Product: tools
           Version: trunk
          Platform: PC
        OS/Version: Linux
            Status: NEW
          Severity: blocker
          Priority: P2
         Component: opt
        AssignedTo: unassignedbugs at nondot.org
        ReportedBy: eric at vanrietpaap.nl


While working on emplementing some new feature in PyPy's LLVM backend (garbage collection 
framework) we encountered a blocker. I've ran bugpoint on it and it came with a rather small reduced 
case, which I have attached. The traceback I get is this:....

opt: Type.cpp:375: virtual const llvm::Type* llvm::StructType::getTypeAtIndex(const llvm::Value*) const: 
Assertion `indexValid(V) && "Invalid structure index!"' failed.
/home/ericvrp/projects/llvm/Release/bin/opt((anonymous 
namespace)::PrintStackTrace()+0x1f)[0x83c7e0f]/lib/libc.so.6(abort+0xeb)[0xb7dc30f3]
/lib/libc.so.6(__assert_fail+0xeb)[0xb7dbb4af]
/home/ericvrp/projects/llvm/Release/bin/opt(llvm::StructType::getTypeAtIndex(llvm::Value const*) 
const+0x6a)[0x837b1fa]
./crash.sh: line 1: 21353 Aborted                 ~/projects/llvm/Release/bin/opt bugpoint-reduced-
simplified.bc -instcombine



------- You are receiving this mail because: -------
You are on the CC list for the bug, or are watching someone who is.



More information about the llvm-bugs mailing list