[LLVMbugs] [Bug 1403] NEW: SPARC and IA64 backend: assertion fails when compiling switch-case

bugzilla-daemon at cs.uiuc.edu bugzilla-daemon at cs.uiuc.edu
Wed May 9 04:34:36 PDT 2007


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

           Summary: SPARC and IA64 backend: assertion fails when compiling
                    switch-case
           Product: new-bugs
           Version: unspecified
          Platform: PC
        OS/Version: Linux
            Status: NEW
          Severity: normal
          Priority: P2
         Component: new bugs
        AssignedTo: unassignedbugs at nondot.org
        ReportedBy: vjaaskel at cs.tut.fi


The following assertion fails with 2.0 CVS branch when compiling a simple
switch-case with four cases. At least IA64 and Sparc backends are affected.
Compiles fine with x86 and PPC backends.

llc: SelectionDAGISel.cpp:1626: bool
llvm::SelectionDAGLowering::handleBTSplitSwitchCase(llvm::SelectionDAGLowering::CaseRec&,
std::vector<llvm::SelectionDAGLowering::CaseRec,
std::allocator<llvm::SelectionDAGLowering::CaseRec> >&, llvm::Value*,
llvm::MachineBasicBlock*): Assertion `(FMetric > 0) && "Should handle dense
range earlier!"' failed.



------- 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