<html>
    <head>
      <base href="http://llvm.org/bugs/" />
    </head>
    <body><table border="1" cellspacing="0" cellpadding="8">
        <tr>
          <th>Bug ID</th>
          <td><a class="bz_bug_link 
          bz_status_NEW "
   title="NEW --- - Thumb1 VFP registers are not properly spilled when clobbered by SjLj - Produces invalid codegen"
   href="http://llvm.org/bugs/show_bug.cgi?id=15571">15571</a>
          </td>
        </tr>

        <tr>
          <th>Summary</th>
          <td>Thumb1 VFP registers are not properly spilled when clobbered by SjLj - Produces invalid codegen
          </td>
        </tr>

        <tr>
          <th>Product</th>
          <td>libraries
          </td>
        </tr>

        <tr>
          <th>Version</th>
          <td>trunk
          </td>
        </tr>

        <tr>
          <th>Hardware</th>
          <td>Macintosh
          </td>
        </tr>

        <tr>
          <th>OS</th>
          <td>MacOS X
          </td>
        </tr>

        <tr>
          <th>Status</th>
          <td>NEW
          </td>
        </tr>

        <tr>
          <th>Severity</th>
          <td>normal
          </td>
        </tr>

        <tr>
          <th>Priority</th>
          <td>P
          </td>
        </tr>

        <tr>
          <th>Component</th>
          <td>Backend: ARM
          </td>
        </tr>

        <tr>
          <th>Assignee</th>
          <td>unassignedbugs@nondot.org
          </td>
        </tr>

        <tr>
          <th>Reporter</th>
          <td>chris.cadwall@gmail.com
          </td>
        </tr>

        <tr>
          <th>CC</th>
          <td>llvmbugs@cs.uiuc.edu
          </td>
        </tr>

        <tr>
          <th>Classification</th>
          <td>Unclassified
          </td>
        </tr></table>
      <p>
        <div>
        <pre>Created <span class=""><a href="attachment.cgi?id=10225" name="attach_10225" title="llc lowers this to invalid asm.">attachment 10225</a> <a href="attachment.cgi?id=10225&action=edit" title="llc lowers this to invalid asm.">[details]</a></span>
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</pre>
        </div>
      </p>
      <hr>
      <span>You are receiving this mail because:</span>
      
      <ul>
          <li>You are on the CC list for the bug.</li>
      </ul>
    </body>
</html>