This is the mail archive of the gcc-patches@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: [PATCH][AArch64] Use std::swap instead of manually swapping in aarch64-ldpstp.md


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


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]