]> git.ipfire.org Git - thirdparty/gcc.git/commit
simplify-rtx.c (simplify_binary_operation_1): Detect the identity.
authorMarc Glisse <marc.glisse@inria.fr>
Mon, 1 Oct 2012 09:53:26 +0000 (11:53 +0200)
committerMarc Glisse <glisse@gcc.gnu.org>
Mon, 1 Oct 2012 09:53:26 +0000 (09:53 +0000)
commit5f6e1c559b08a262977b1cbcfe16f75116fef4f7
tree323d8a354041efc900f2e813aecb6d428aa1da25
parent3c321286b46e0819f24f2b6749da8687685e8b8b
simplify-rtx.c (simplify_binary_operation_1): Detect the identity.

2012-10-01  Marc Glisse  <marc.glisse@inria.fr>

gcc/
* simplify-rtx.c (simplify_binary_operation_1) <VEC_SELECT>:
Detect the identity.
<VEC_CONCAT>: Handle VEC_SELECTs from the same vector.

gcc/testsuite/
* gcc.target/i386/vect-rebuild.c: New testcase.

From-SVN: r191909
gcc/ChangeLog
gcc/simplify-rtx.c
gcc/testsuite/ChangeLog
gcc/testsuite/gcc.target/i386/vect-rebuild.c [new file with mode: 0644]