[LLVMbugs] [Bug 563] NEW: SparcV( Backend asserts on shr constant expression

bugzilla-daemon at cs.uiuc.edu bugzilla-daemon at cs.uiuc.edu
Wed May 11 12:49:32 PDT 2005


           Summary: SparcV( Backend asserts on shr constant expression
           Product: libraries
           Version: trunk
          Platform: PC
        OS/Version: Linux
            Status: NEW
          Severity: normal
          Priority: P2
         Component: Backend: SparcV9
        AssignedTo: criswell at uiuc.edu
        ReportedBy: criswell at uiuc.edu

The SparcV9 Backend hits the following assertion during the
DecomposeConstantExpr() function in the preselection pass:

assert(CE->getOpcode() >= Instruction::BinaryOpsBegin &&
             CE->getOpcode() <  Instruction::BinaryOpsEnd &&
             "Unhandled opcode in ConstantExpr");

I'll attach a test case shortly.

I believe I have a fix for this bug; hence, I've assigned it to myself.

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