This is the mail archive of the
gcc-patches@gcc.gnu.org
mailing list for the GCC project.
Re: [PATCH][AArch64] Use std::swap instead of manually swapping in aarch64-ldpstp.md
- From: Marcus Shawcroft <marcus dot shawcroft at gmail dot com>
- To: Kyrill Tkachov <kyrylo dot tkachov at arm dot com>
- Cc: GCC Patches <gcc-patches at gcc dot gnu dot org>
- Date: Wed, 4 Feb 2015 12:48:03 +0000
- Subject: Re: [PATCH][AArch64] Use std::swap instead of manually swapping in aarch64-ldpstp.md
- Authentication-results: sourceware.org; auth=none
- References: <54D20E15 dot 8040606 at arm dot com>
On 4 February 2015 at 12:18, Kyrill Tkachov <kyrylo.tkachov@arm.com> wrote:
> Hi all,
>
> This patch makes use of std::swap in every peephole2 of aarch64-ldp-stp.md
> instead of manually swapping rtxen.
> No functional change, just a cleanup.
> Bootstrapped and tested on aarch64.
>
> I'm proposing this for next stage1 together with the other AArch64 patch
> that
> moves a couple of places of aarch64.c to use std::swap
> (https://gcc.gnu.org/ml/gcc-patches/2014-11/msg01426.html)
>
> Thanks,
> Kyrill
>
> 2015-02-04 Kyrylo Tkachov <kyrylo.tkachov@arm.com>
>
> * config/aarch64/aarch64-ldpstp.md: Use std::swap instead of
> manual swaps in all peepholes.
OK for this and the related one linked above to go in now. /Marcus