diff options
author | Kyrylo Tkachov <kyrylo.tkachov@arm.com> | 2023-05-31 11:23:23 +0100 |
---|---|---|
committer | Kyrylo Tkachov <kyrylo.tkachov@arm.com> | 2023-05-31 11:23:23 +0100 |
commit | 11bd9b1f8133fc07c267e6d1aee8b01e06c7a750 (patch) | |
tree | 093687296369e29132bd514cd00ee326167aebb0 /gcc/tree-ssa-structalias.cc | |
parent | feae4e83f76cf8e6698429d5acb08ff1968d13f2 (diff) | |
download | gcc-11bd9b1f8133fc07c267e6d1aee8b01e06c7a750.zip gcc-11bd9b1f8133fc07c267e6d1aee8b01e06c7a750.tar.gz gcc-11bd9b1f8133fc07c267e6d1aee8b01e06c7a750.tar.bz2 |
aarch64: Simplify output template emission code for a few patterns
If the output code for a define_insn just does a switch (which_alternative) with no other computation we can almost always
replace it with more compact MD syntax for each alternative in a mult-alternative '@' block.
This patch cleans up some such patterns in the aarch64 backend, making them shorter and more concise.
No behavioural change intended.
Bootstrapped and tested on aarch64-none-linux-gnu.
gcc/ChangeLog:
* config/aarch64/aarch64-simd.md (*aarch64_simd_mov<VDMOV:mode>): Rewrite
output template to avoid explicit switch on which_alternative.
(*aarch64_simd_mov<VQMOV:mode>): Likewise.
(and<mode>3): Likewise.
(ior<mode>3): Likewise.
* config/aarch64/aarch64.md (*mov<mode>_aarch64): Likewise.
Diffstat (limited to 'gcc/tree-ssa-structalias.cc')
0 files changed, 0 insertions, 0 deletions