<div>Hi Evan / Jim,</div><div><br></div><div>For reference, X86-64 does the same thing for var-arg (spill registers upon function entry) and the immutable flag is correctly set to false for the register save area.</div><div>
<br></div><div>This does limit optimization, but unfortunately it is needed for correctness. (at least, without making other changes to the backend)</div><div><br></div><div>- David M</div><br><div class="gmail_quote">On Wed, Oct 13, 2010 at 11:59 AM, Jim Grosbach <span dir="ltr"><<a href="mailto:grosbach@apple.com">grosbach@apple.com</a>></span> wrote:<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex;"><div style="word-wrap:break-word">Hi David,<div><br></div><div>Your explanation definitely makes sense. Thanks for digging into this. My only hesitation is a, perhaps unfounded, concern that this may be a bit of a big hammer and limit other opportunities that are desirable. Evan, what do you think?</div>
<div><br></div><div>-Jim</div><div><br><div><div><div></div><div class="h5"><div>On Oct 13, 2010, at 10:38 AM, David Meyer wrote:</div><br></div></div><blockquote type="cite"><div><div></div><div class="h5"><div>Attached patch resolves this bug:</div>
<div><br></div><a href="http://llvm.org/bugs/show_bug.cgi?id=8347" target="_blank">http://llvm.org/bugs/show_bug.cgi?id=8347</a><div><br></div><div>- David M</div>
</div></div><span><bugfix8347.patch></span>_______________________________________________<br>llvm-commits mailing list<br><a href="mailto:llvm-commits@cs.uiuc.edu" target="_blank">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>
</blockquote></div><br></div></div></blockquote></div><br>