This is the mail archive of the
gcc-patches@gcc.gnu.org
mailing list for the GCC project.
Re: [PATCH, ARM][2 of 2] Enable shrink-wrap for ARM
- From: Ramana Radhakrishnan <ramana dot gcc at googlemail dot com>
- To: Zhenqiang Chen <zhenqiang dot chen at linaro dot org>
- Cc: gcc-patches at gcc dot gnu dot org
- Date: Tue, 2 Apr 2013 10:55:11 +0100
- Subject: Re: [PATCH, ARM][2 of 2] Enable shrink-wrap for ARM
- References: <CACgzC7Dn3osbPoJLNSUN5Q6gnVYoBXHdm2O6FtcMXRs=3V1yWQ at mail dot gmail dot com>
- Reply-to: ramrad01 at arm dot com
On Thu, Mar 21, 2013 at 7:03 AM, Zhenqiang Chen
<zhenqiang.chen@linaro.org> wrote:
> Hi,
>
> The patch is to enable shrink-wrap for TARGET_ARM and TARGET_THUMB2.
>
> Bootstrapped and no make check regression.
> All previous Linaro shrink-wrap bugs (http://goo.gl/6fGg5) are verified.
>
> Is it OK?
The tests should be part of the patch attached and not just added as
separate files in your patch submission.
regards
Ramana
>
> Thanks!
> -Zhenqiang
>
> ChangeLog:
> 2013-03-21 Bernd Schmidt <bernds@codesourcery.com>
> Zhenqiang Chen <zhenqiang.chen@linaro.org>
>
> * config/arm/arm-protos.h: Add and update function protos.
> * config/arm/arm.c (use_simple_return_p): New added.
> (thumb2_expand_return): Check simple_return flag.
> * config/arm/arm.md: Add simple_return and conditional simple_return.
> * config/arm/iterators.md: Add iterator for return and simple_return.
>
> testsuite/ChangeLog:
> 2013-03-21 Zhenqiang Chen <zhenqiang.chen@linaro.org>
>
> * gcc.dg/shrink-wrap-alloca.c: New added.
> * gcc.dg/shrink-wrap-pretend.c: New added.
> * gcc.dg/shrink-wrap-sibcall.c: New added.