[LLVMbugs] [Bug 7110] New: llc generates a non thumb instruction when thumb is specified

bugzilla-daemon at llvm.org bugzilla-daemon at llvm.org
Mon May 10 20:53:52 PDT 2010


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

           Summary: llc generates a non thumb instruction when thumb is
                    specified
           Product: new-bugs
           Version: 2.7
          Platform: PC
        OS/Version: Linux
            Status: NEW
          Severity: normal
          Priority: P
         Component: new bugs
        AssignedTo: unassignedbugs at nondot.org
        ReportedBy: dwelch at dwelch.com
                CC: llvmbugs at cs.uiuc.edu


Created an attachment (id=4878)
 --> (http://llvm.org/bugs/attachment.cgi?id=4878)
input to llc that generates this problem

llc -march=thumb file.bc -f -o fileout.s

generated a push with register 8 in the list, a push is limited to r0-7 and lr,
r8 is not valid.

    .code    16
    .thumb_func
SHA1:                                   @ @SHA1
@ BB#0:                                 @ %entry
    push    {r4, r5, r6, r7, r8, lr}
    ldr    r2, .LCPI2_9
    add    sp, r2
    cmp    r1, #0

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