aboutsummaryrefslogtreecommitdiff
path: root/gcc/expr.cc
diff options
context:
space:
mode:
authorRichard Sandiford <richard.sandiford@arm.com>2024-06-18 12:22:30 +0100
committerRichard Sandiford <richard.sandiford@arm.com>2024-06-18 12:22:30 +0100
commit1474a8eead4ab390e59ee014befa8c40346679f4 (patch)
treef42a6e6008f8d6a62ac57534e36cae2b2cbdc16f /gcc/expr.cc
parent01044471ea39f9be4803c583ef2a946abc657f99 (diff)
downloadgcc-1474a8eead4ab390e59ee014befa8c40346679f4.zip
gcc-1474a8eead4ab390e59ee014befa8c40346679f4.tar.gz
gcc-1474a8eead4ab390e59ee014befa8c40346679f4.tar.bz2
aarch64: Use force_subreg in more places
This patch makes the aarch64 code use force_subreg instead of simplify_gen_subreg in more places. The criteria were: (1) The code is obviously specific to expand (where new pseudos can be created). (2) The value is obviously an rvalue rather than an lvalue. (3) The offset wasn't a simple lowpart or highpart calculation; a later patch will deal with those. gcc/ * config/aarch64/aarch64-builtins.cc (aarch64_expand_fcmla_builtin): Use force_subreg instead of simplify_gen_subreg. * config/aarch64/aarch64-simd.md (ctz<mode>2): Likewise. * config/aarch64/aarch64-sve-builtins-base.cc (svget_impl::expand): Likewise. (svget_neonq_impl::expand): Likewise. * config/aarch64/aarch64-sve-builtins-functions.h (multireg_permute::expand): Likewise.
Diffstat (limited to 'gcc/expr.cc')
0 files changed, 0 insertions, 0 deletions