[ARM] Use std::swap instead of manually swapping
authorKyrylo Tkachov <kyrylo.tkachov@arm.com>
Tue, 18 Nov 2014 10:10:53 +0000 (10:10 +0000)
committerKyrylo Tkachov <ktkachov@gcc.gnu.org>
Tue, 18 Nov 2014 10:10:53 +0000 (10:10 +0000)
commit9f37760abed226a27061ded75d50be803ef73a96
treeb21976644eea9dd4de116ca7c082b136cc4b9fbd
parentbd79363ce06f60a72c83463963bf67de05b06546
[ARM] Use std::swap instead of manually swapping

* config/arm/arm.md (unaligned_loaddi): Use std::swap instead of
manual swapping implementation.
(movcond_addsi): Likewise.
* config/arm/arm.c (arm_canonicalize_comparison): Likewise.
(arm_select_dominance_cc_mode): Likewise.
(arm_reload_out_hi): Likewise.
(gen_operands_ldrd_strd): Likewise.
(output_move_double): Likewise.
(arm_print_operand_address): Likewise.
(thumb_output_move_mem_multiple): Likewise.
(SWAP_RTX): Delete.

From-SVN: r217701
gcc/ChangeLog
gcc/config/arm/arm.c
gcc/config/arm/arm.md