[LLVMbugs] [Bug 19652] New: Disagreement on spill slot for VFP registers

bugzilla-daemon at llvm.org bugzilla-daemon at llvm.org
Sun May 4 18:02:04 PDT 2014


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: unassignedbugs at nondot.org
          Reporter: joerg at NetBSD.org
                CC: grosbach at apple.com, llvmbugs at cs.uiuc.edu,
                    t.p.northover at gmail.com
    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.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.llvm.org/pipermail/llvm-bugs/attachments/20140505/2b3bff53/attachment.html>


More information about the llvm-bugs mailing list