[PATCH] ARM FastISel fix sext/zext fold
JF Bastien
jfb at google.com
Sat Jun 8 12:46:57 PDT 2013
This was the wrong patch, here's the correct one.
On Sat, Jun 8, 2013 at 12:26 PM, JF Bastien <jfb at google.com> wrote:
> 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.
>
> This patch fixes both issues.
>
> This patch fixes both, and the test should remain the same:
> test/CodeGen/ARM/fast-isel-fold.ll
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20130608/cc95f591/attachment.html>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: fastisel-fix-ext-fold.patch
Type: application/octet-stream
Size: 1939 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20130608/cc95f591/attachment.obj>
More information about the llvm-commits
mailing list