Correct subreg no-op handling for big-endian vec_select.
authorTamar Christina <tamar.christina@arm.com>
Thu, 5 Jul 2018 10:35:00 +0000 (10:35 +0000)
committerTamar Christina <tnfchris@gcc.gnu.org>
Thu, 5 Jul 2018 10:35:00 +0000 (10:35 +0000)
commitd6e5a37a0402177713e9496f0d852e2e1147437f
treed85c7d84a110e0a71b36508ccbabd5555582e968
parent89c52e5e2ca6e63b1dc0868893d05434d61a0c33
Correct subreg no-op handling for big-endian vec_select.

gcc/

PR target/84711
* rtlanal.c (set_noop_p): Constrain on mode change,
include hard-reg-set.h

gcc/testuite/

PR target/84711
* gcc.dg/vect/pr84711.c: New.

From-SVN: r262435
gcc/ChangeLog
gcc/rtlanal.c
gcc/testsuite/ChangeLog
gcc/testsuite/gcc.dg/vect/pr84711.c [new file with mode: 0644]