aboutsummaryrefslogtreecommitdiff
path: root/gcc/tree-cfg.cc
diff options
context:
space:
mode:
authorRichard Ball <richard.ball@arm.com>2022-07-18 11:30:04 +0100
committerRichard Sandiford <richard.sandiford@arm.com>2022-07-18 11:30:04 +0100
commit06039e71f02e478280ed63a63cbf5e76f3897513 (patch)
tree97b829e799338f3a1e254356b0e2c83124d7dd5d /gcc/tree-cfg.cc
parent2907bfc3412dd8aef6c6acc17f2152a4e0ac4979 (diff)
downloadgcc-06039e71f02e478280ed63a63cbf5e76f3897513.zip
gcc-06039e71f02e478280ed63a63cbf5e76f3897513.tar.gz
gcc-06039e71f02e478280ed63a63cbf5e76f3897513.tar.bz2
Replace manual swapping idiom with std::swap in aarch64.cc
gcc/config/aarch64/aarch64.cc has a few manual swapping idioms of the form: x = in0, in0 = in1, in1 = x; The preferred way is using the standard: std::swap (in0, in1); We should just fix these to use std::swap. This will also allow us to eliminate the x temporary rtx. gcc/ChangeLog: * config/aarch64/aarch64.cc (aarch64_evpc_trn): Use std:swap. (aarch64_evpc_uzp): Likewise. (aarch64_evpc_zip): Likewise.
Diffstat (limited to 'gcc/tree-cfg.cc')
0 files changed, 0 insertions, 0 deletions