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

            Bug ID: 19652
           Summary: Disagreement on spill slot for VFP registers
           Product: libraries
           Version: trunk
          Hardware: PC
                OS: Linux
            Status: NEW
          Severity: normal
          Priority: P
         Component: Backend: ARM
          Assignee: [email protected]
          Reporter: [email protected]
                CC: [email protected], [email protected],
                    [email protected]
    Classification: Unclassified

Created attachment 12475
  --> http://llvm.org/bugs/attachment.cgi?id=12475&action=edit
Test case

Consider the attached test patch case with the helper patch to enable DWARF
unwinding. The code in PEI places the VFP spill slots on aligned positions, but
the ARM frame lowering places the aligning SP update after the vpush:

f:                                      @ @f
    .cfi_startproc
@ BB#0:                                 @ %entry
    push    {r4, r11, lr}
.Ltmp0:
    .cfi_def_cfa_offset 12
.Ltmp1:
    .cfi_offset lr, -4
.Ltmp2:
    .cfi_offset r11, -8
.Ltmp3:
    .cfi_offset r4, -12
    add    r11, sp, #4
.Ltmp4:
    .cfi_def_cfa r11, 8
    vpush    {d8, d9}
.Ltmp5:
    .cfi_offset d9, -24
.Ltmp6:
    .cfi_offset d8, -32
    sub    sp, sp, #4

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