[PATCH][AArch64] Use std::swap instead of manually swapping in aarch64-ldpstp.md
Kyrill Tkachov
kyrylo.tkachov@arm.com
Wed Feb 4 12:18:00 GMT 2015
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.
-------------- next part --------------
A non-text attachment was scrubbed...
Name: aarch64-ldp-stp-swap.patch
Type: text/x-patch
Size: 10411 bytes
Desc: not available
URL: <http://gcc.gnu.org/pipermail/gcc-patches/attachments/20150204/bc940625/attachment.bin>
More information about the Gcc-patches
mailing list