<html><head></head><body style="word-wrap: break-word; -webkit-nbsp-mode: space; -webkit-line-break: after-white-space; "><div><br></div>LGTM<div><br></div><div>Nitpick. Could you add comments in the source code about not optimizing away test instructions in some cases?</div><div><br></div><div>Thanks,</div><div>Manman</div><div><br><div><div>On May 19, 2013, at 1:32 AM, David Majnemer wrote:</div><br class="Apple-interchange-newline"><blockquote type="cite"><div dir="ltr">I've updated the patch.<div><br></div><div style="">This patch chooses not to optimize away test instructions if a lea instruction can be used to replace the left shift later.</div><div style="">This seemed reasonable as it can give more flexibility in some cases but I'm not attached to the behavior of this either way.</div>
</div><div class="gmail_extra"><br><br><div class="gmail_quote">On Thu, May 16, 2013 at 4:57 AM, David Majnemer <span dir="ltr"><<a href="mailto:david.majnemer@gmail.com" target="_blank">david.majnemer@gmail.com</a>></span> wrote:<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div dir="ltr">This is a follow-on to work done in r181937. It adds support for shift-by-immediate instructions. It appropriately deals with more obscure cases where the ZF flag isn't actually updated.<span class="HOEnZb"><font color="#888888"><div>
<br></div><div>
-- </div><div>David Majnemer</div></font></span></div>
</blockquote></div><br></div>
<span><shift-by-immediate-2.diff></span>_______________________________________________<br>llvm-commits mailing list<br><a href="mailto:llvm-commits@cs.uiuc.edu">llvm-commits@cs.uiuc.edu</a><br>http://lists.cs.uiuc.edu/mailman/listinfo/llvm-commits<br></blockquote></div><br></div></body></html>