[LLVMbugs] [Bug 5367] New: Regalloc lost regclass information

bugzilla-daemon at cs.uiuc.edu bugzilla-daemon at cs.uiuc.edu
Sun Nov 1 16:29:23 PST 2009


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

           Summary: Regalloc lost regclass information
           Product: libraries
           Version: trunk
          Platform: PC
        OS/Version: All
            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


Consider the bytecode attached. Running llc fails with:

$ ./llc bugpoint-reduced-simplified.ll -mcpu=cortex-a8 -enable-unsafe-fp-math
llc: /home/asl/proj/llvm/src_arm/lib/CodeGen/LowerSubregs.cpp:232:
bool<unnamed>::LowerSubregsInstructionPass::LowerInsert(llvm::MachineInstr*):
Assertion `DstSubReg && "invalid subregister index for register"' failed.

it seems that it tries to emit insert_subreg instruction for high DP register,
which does not have 32-bit subregs. This actually means that regclass
information was lost during RA.


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