[LLVMbugs] [Bug 13405] New: Assertion in jump-threading when indirect branch has no successor

bugzilla-daemon at llvm.org bugzilla-daemon at llvm.org
Thu Jul 19 10:24:46 PDT 2012


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

             Bug #: 13405
           Summary: Assertion in jump-threading when indirect branch has
                    no successor
           Product: libraries
           Version: trunk
          Platform: PC
        OS/Version: Linux
            Status: NEW
          Severity: normal
          Priority: P
         Component: Scalar Optimizations
        AssignedTo: unassignedbugs at nondot.org
        ReportedBy: richard at xmos.com
                CC: llvmbugs at cs.uiuc.edu
    Classification: Unclassified


Created attachment 8923
  --> http://llvm.org/bugs/attachment.cgi?id=8923
test.ll

Running opt -jump-threading test.ll with the attached file (containing an
indirect branch with no successors) results in the following assertion:

opt: /homelocal/richard/c2xc/llvm/include/llvm/Instructions.h:2948: llvm::Value
*llvm::IndirectBrInst::getOperand(unsigned int) const: Assertion `i_nocapture <
OperandTraits<IndirectBrInst>::operands(this) && "getOperand() out of range!"'
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