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: [email protected]
        ReportedBy: [email protected]
                CC: [email protected]


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.
_______________________________________________
LLVMbugs mailing list
[email protected]
http://lists.cs.uiuc.edu/mailman/listinfo/llvmbugs

Reply via email to