<div dir="ltr">This was the wrong patch, here's the correct one.</div><div class="gmail_extra"><br><br><div class="gmail_quote">On Sat, Jun 8, 2013 at 12:26 PM, JF Bastien <span dir="ltr"><<a href="mailto:jfb@google.com" target="_blank">jfb@google.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">Sign- and zero-extension folding was slightly incorrect because it wasn't checking that the shift on extensions was zero. Further, I recently added AND rd, rn, #255 as a form of 8-bit zero extension, and failed to add the folding code for it.<div>

<br></div><div>This patch fixes both issues.<br><div><br></div><div>This patch fixes both, and the test should remain the same:</div><div>  test/CodeGen/ARM/fast-isel-fold.ll<br></div><div><br></div></div>
</div>
</blockquote></div><br></div>