[PATCH] ARM/NEON: Improve codegen for long sext/zext operations.

Renato Golin renato.golin at linaro.org
Fri Mar 15 02:19:57 PDT 2013


On 15 March 2013 06:43, Pete Couperus <pjcoup at gmail.com> wrote:

> The ARM backend currently has poor codegen for long sext/zext
> operations, such as v8i8 -> v8i32.
> This patch addresses this by performing a custom expansion in
> ARMISelLowering.
> This partially addresses PR14867 (
> http://llvm.org/bugs/show_bug.cgi?id=14867).
>

Hi Pete,

Great patch, thanks! And lots of test cases, which is always great.

Can you also update the cost of sign/zero extend in ARMTTI?

cheers,
--renato
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20130315/48bc478f/attachment.html>


More information about the llvm-commits mailing list