]> git.ipfire.org Git - thirdparty/gcc.git/commit
aarch64: Use vec_perm_indices::new_shrunk_vector in aarch64_evpc_reencode
authorAndrew Pinski <quic_apinski@quicinc.com>
Mon, 12 Feb 2024 23:48:48 +0000 (15:48 -0800)
committerAndrew Pinski <quic_apinski@quicinc.com>
Sun, 28 Apr 2024 00:15:07 +0000 (17:15 -0700)
commitf91569e779041e2723be23d31c2a79f1861efc7f
treec742efb74478c08c1227594bbef006ae8a867b5c
parent140124ad54eef88ca87909f63aedc8aaeacefc65
aarch64: Use vec_perm_indices::new_shrunk_vector in aarch64_evpc_reencode

While working on PERM related stuff, I can across that aarch64_evpc_reencode
was manually figuring out if we shrink the perm indices instead of
using vec_perm_indices::new_shrunk_vector; shrunk was added after reencode
was added.

Built and tested for aarch64-linux-gnu with no regressions.

gcc/ChangeLog:

PR target/113822
* config/aarch64/aarch64.cc (aarch64_evpc_reencode): Use
vec_perm_indices::new_shrunk_vector instead of manually
going through the indices.

Signed-off-by: Andrew Pinski <quic_apinski@quicinc.com>
gcc/config/aarch64/aarch64.cc