[LLVMbugs] [Bug 5364] New: Assertion `SRC && " Invalid subregister index in EXTRACT_SUBREG"'

bugzilla-daemon at cs.uiuc.edu bugzilla-daemon at cs.uiuc.edu
Sun Nov 1 10:59:40 PST 2009


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

           Summary: Assertion `SRC && "Invalid subregister index in
                    EXTRACT_SUBREG"'
           Product: libraries
           Version: trunk
          Platform: PC
        OS/Version: Linux
            Status: NEW
          Severity: normal
          Priority: P2
         Component: Backend: ARM
        AssignedTo: unassignedbugs at nondot.org
        ReportedBy: asl at math.spbu.ru
                CC: llvmbugs at cs.uiuc.edu


Created an attachment (id=3737)
 --> (http://llvm.org/bugs/attachment.cgi?id=3737)
bugpoint reduction

Consider the attached bytecode. Running llc -mcpu=cortex-a8 yeilds:

$ ./llc bugpoint-reduced-simplified.bc -mcpu=cortex-a8
llc: /home/asl/proj/llvm/src_arm/lib/CodeGen/SelectionDAG/InstrEmitter.cpp:410:
void llvm::InstrEmitter::EmitSubregNode(llvm::SDNode*,
llvm::DenseMap<llvm::SDValue, unsigned int, llvm::DenseMapInfo<llvm::SDValue>,
llvm::DenseMapInfo<unsigned int> >&): Assertion `SRC && "Invalid subregister
index in EXTRACT_SUBREG"' failed.

most probably it's due to recent cross-regclass matching stuff (I haven't
verified this though).


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