[Bug rtl-optimization/64286] [4.9 Regression] Redundant extend removal ignores vector element type
jakub at gcc dot gnu.org
gcc-bugzilla@gcc.gnu.org
Wed Jan 14 20:24:00 GMT 2015
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=64286
--- Comment #10 from Jakub Jelinek <jakub at gcc dot gnu.org> ---
Author: jakub
Date: Wed Jan 14 20:24:05 2015
New Revision: 219614
URL: https://gcc.gnu.org/viewcvs?rev=219614&root=gcc&view=rev
Log:
Backported from mainline
2015-01-13 Jakub Jelinek <jakub@redhat.com>
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.
Added:
branches/gcc-4_9-branch/gcc/testsuite/gcc.target/i386/avx2-pr64286.c
Modified:
branches/gcc-4_9-branch/gcc/ChangeLog
branches/gcc-4_9-branch/gcc/ree.c
branches/gcc-4_9-branch/gcc/testsuite/ChangeLog
More information about the Gcc-bugs
mailing list