diff options
author | Andrew Pinski <apinski@marvell.com> | 2021-11-06 06:29:13 +0000 |
---|---|---|
committer | Andrew Pinski <apinski@marvell.com> | 2021-11-10 04:06:54 +0000 |
commit | 52fa771758635d9c53cddb9116e5a66fae592230 (patch) | |
tree | c37f8acd90f05fcebc22af53cd9725db9d69a0a9 /gcc/tree-ssa-threadbackward.c | |
parent | d581cf9c2f6932651dd5d48f60cb4250cfaf6ddd (diff) | |
download | gcc-52fa771758635d9c53cddb9116e5a66fae592230.zip gcc-52fa771758635d9c53cddb9116e5a66fae592230.tar.gz gcc-52fa771758635d9c53cddb9116e5a66fae592230.tar.bz2 |
aarch64: [PR101529] Fix vector shuffle insertion expansion
The function aarch64_evpc_ins would reuse the target even though
it might be the same register as the two inputs.
Instead of checking to see if we can reuse the target, just use the
original input directly.
Committed as approved after bootstrapped and tested on
aarch64-linux-gnu with no regressions.
PR target/101529
gcc/ChangeLog:
* config/aarch64/aarch64.c (aarch64_evpc_ins): Don't use target
as an input, use original one.
gcc/testsuite/ChangeLog:
* c-c++-common/torture/builtin-convertvector-2.c: New test.
* c-c++-common/torture/builtin-shufflevector-2.c: New test.
Diffstat (limited to 'gcc/tree-ssa-threadbackward.c')
0 files changed, 0 insertions, 0 deletions