<div dir="ltr">Hi Oliver,<div><br></div><div>The patch looks good to me, though I'm not sure about the CallingConvEmitter part.  It also looks correct, but I'll let other people review that more thoroughly (Molloy?).</div>
<div><br></div><div>cheers,</div><div>--renato</div><div><br></div><div><br></div></div><div class="gmail_extra"><br><br><div class="gmail_quote">On 6 February 2014 17:33, Oliver Stannard <span dir="ltr"><<a href="mailto:oliver.stannard@arm.com" target="_blank">oliver.stannard@arm.com</a>></span> wrote:<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div lang="EN-GB" link="blue" vlink="purple"><div><p class="MsoNormal">Hi,<u></u><u></u></p><p class="MsoNormal"><u></u> <u></u></p>
<p class="MsoNormal">According the the AAPCS, if an argument is a CPRC (co-processor register candidate) but cannot be allocated to a co-processor register, the argument must be allocated on the stack and all co-processor registers of that class must be marked as unavailable (AAPCS, rule C.2.cp). However, llvm does not currently mark the VFP registers as unavailable, so can allocate a later CPRC to a register after an earlier one has been allocated to the stack.<u></u><u></u></p>
<p class="MsoNormal"><u></u> <u></u></p><p class="MsoNormal">The attached patch corrects this.<span class="HOEnZb"><font color="#888888"><u></u><u></u></font></span></p><span class="HOEnZb"><font color="#888888"><p class="MsoNormal">
<u></u> <u></u></p><p class="MsoNormal">Oliver<u></u><u></u></p></font></span></div></div><br>_______________________________________________<br>
llvm-commits mailing list<br>
<a href="mailto:llvm-commits@cs.uiuc.edu">llvm-commits@cs.uiuc.edu</a><br>
<a href="http://lists.cs.uiuc.edu/mailman/listinfo/llvm-commits" target="_blank">http://lists.cs.uiuc.edu/mailman/listinfo/llvm-commits</a><br>
<br></blockquote></div><br></div>