diff options
author | Richard Sandiford <richard.sandiford@arm.com> | 2024-06-18 12:22:31 +0100 |
---|---|---|
committer | Richard Sandiford <richard.sandiford@arm.com> | 2024-06-18 12:22:31 +0100 |
commit | 6bd4fbae45d11795a9a6f54b866308d4d7134def (patch) | |
tree | 906d8ac6a109d24c71bd3fb07a35098128016ec1 /gcc/expr.cc | |
parent | 5f40d1c0cc6ce91ef28d326b8707b3f05e6f239c (diff) | |
download | gcc-6bd4fbae45d11795a9a6f54b866308d4d7134def.zip gcc-6bd4fbae45d11795a9a6f54b866308d4d7134def.tar.gz gcc-6bd4fbae45d11795a9a6f54b866308d4d7134def.tar.bz2 |
aarch64: Add some uses of force_lowpart_subreg
This patch makes more use of force_lowpart_subreg, similarly
to the recent patch for force_subreg. 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.
gcc/
PR target/115464
* config/aarch64/aarch64-builtins.cc (aarch64_expand_fcmla_builtin)
(aarch64_expand_rwsr_builtin): Use force_lowpart_subreg instead of
simplify_gen_subreg and lowpart_subreg.
* config/aarch64/aarch64-sve-builtins-base.cc
(svset_neonq_impl::expand): Likewise.
* config/aarch64/aarch64-sve-builtins-sme.cc
(add_load_store_slice_operand): Likewise.
* config/aarch64/aarch64.cc (aarch64_sve_reinterpret): Likewise.
(aarch64_addti_scratch_regs, aarch64_subvti_scratch_regs): Likewise.
gcc/testsuite/
PR target/115464
* gcc.target/aarch64/sve/acle/general/pr115464_2.c: New test.
Diffstat (limited to 'gcc/expr.cc')
0 files changed, 0 insertions, 0 deletions