Ping.<div class="gmail_extra"><br><br><div class="gmail_quote">On Sun, Dec 9, 2012 at 1:06 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">There are cases where LLVM chooses to emit andq instructions where an andl instruction would suffice. The latter instruction is advantageous because it is a single byte smaller.<div>

<br></div><div>LLVM already had entries in X86InstrCompiler.td to perform this optimization, however another pattern was being preferred. The attached patch increases the priorities of two patterns so that they will be preferred is they match.</div>


<div><br></div><div>The attached patch passes all regressions and includes a test to verify that the fix is working.</div>
</blockquote></div><br></div>