re PR rtl-optimization/64286 (Redundant extend removal ignores vector element type)
authorJakub Jelinek <jakub@redhat.com>
Tue, 13 Jan 2015 19:12:47 +0000 (20:12 +0100)
committerJakub Jelinek <jakub@gcc.gnu.org>
Tue, 13 Jan 2015 19:12:47 +0000 (20:12 +0100)
commit860dadcbeac42219978ccc320ef13a5afa56138b
tree9195e2668a728ec9e560e43a016f488af5350d77
parent6e5a37dae73dc82c735d85f5d1f835f91cd36352
re PR rtl-optimization/64286 (Redundant extend removal ignores vector element type)

PR rtl-optimization/64286
* ree.c (combine_reaching_defs): Move part of comment earlier,
remove !SCALAR_INT_MODE_P check.
(add_removable_extension): Don't add vector mode
extensions if all uses of the source register aren't the same
vector extensions.

* gcc.target/i386/avx2-pr64286.c: New test.

From-SVN: r219550
gcc/ChangeLog
gcc/ree.c
gcc/testsuite/ChangeLog
gcc/testsuite/gcc.target/i386/avx2-pr64286.c [new file with mode: 0644]