[LLVMbugs] [Bug 5721] New: test failure on test/CodeGen/Thumb2/large-stack.ll

bugzilla-daemon at cs.uiuc.edu bugzilla-daemon at cs.uiuc.edu
Tue Dec 8 09:57:33 PST 2009


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

           Summary: test failure on test/CodeGen/Thumb2/large-stack.ll
           Product: libraries
           Version: trunk
          Platform: PC
        OS/Version: Linux
            Status: NEW
          Severity: normal
          Priority: P2
         Component: Backend: ARM
        AssignedTo: unassignedbugs at nondot.org
        ReportedBy: nlewycky at google.com
                CC: llvmbugs at cs.uiuc.edu


FAIL: /home/nlewycky/llvm/test/CodeGen/Thumb2/large-stack.ll
Failed with exit(1) at line 1
while running:  llc < /home/nlewycky/llvm/test/CodeGen/Thumb2/large-stack.ll
-march=thumb -mattr=+thumb2 | FileCheck
/home/nlewycky/llvm/test/CodeGen/Thumb2/large-stack.ll
/home/nlewycky/llvm/test/CodeGen/Thumb2/large-stack.ll:21:21: error: expected
string not found in input
; CHECK: sub sp, #20
                    ^
<stdin>:43:2: note: scanning from here
 sub sp, #16
 ^
<stdin>:43:2: note: possible intended match here
 sub sp, #16
 ^

The failure is when building @test3. Here's the generated assembly for that
function on my beagleboard:
test3:
        stmfd   sp!, {r4, r7, r11, lr}
        add     r7, sp, #4
        sub.w   sp, sp, #805306368
        sub     sp, #16
        mov     r4, sp
        bic     r4, r4, #15
        mov     sp, r4
        movs    r0, #0
        add.w   r1, sp, #805306368
        str     r0, [r1, #+8]
        mov     sp, r7
        sub     sp, #4
        ldmfd.w sp!, {r4, r7, r11, pc}
        .size test3, .-test3

Is this perhaps a platform issue? ARM on Linux vs. Darwin?


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