[LLVMbugs] [Bug 15571] New: Thumb1 VFP registers are not properly spilled when clobbered by SjLj - Produces invalid codegen

bugzilla-daemon at llvm.org bugzilla-daemon at llvm.org
Fri Mar 22 10:40:30 PDT 2013


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

            Bug ID: 15571
           Summary: Thumb1 VFP registers are not properly spilled when
                    clobbered by SjLj - Produces invalid codegen
           Product: libraries
           Version: trunk
          Hardware: Macintosh
                OS: MacOS X
            Status: NEW
          Severity: normal
          Priority: P
         Component: Backend: ARM
          Assignee: unassignedbugs at nondot.org
          Reporter: chris.cadwall at gmail.com
                CC: llvmbugs at cs.uiuc.edu
    Classification: Unclassified

Created attachment 10225
  --> http://llvm.org/bugs/attachment.cgi?id=10225&action=edit
llc lowers this to invalid asm.

Using Apple's system assembler:

ARM register expected -- `push
{d8,d9,d10,d11,d12,d13,d14,d15,r8,r10,r11,r4,r5,r6,r7,lr}

ARM register expected -- `pop
{d8,d9,d10,d11,d12,d13,d14,d15,r8,r10,r11,r4,r5,r6,r7,pc}


r167499 changes the clobber behavior of the Int_eh_sjlj_dispatchsetup pseudo-op
to clobber all registers and has uncovered that the D registers are not
properly being spilled when using SjLj on Thumb1. 

$ llc -O0 -o test.s test.ll

-- 
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/20130322/0ef7dc0e/attachment.html>


More information about the llvm-bugs mailing list