[Bug rtl-optimization/64286] [4.9/5 Regression] Redundant extend removal ignores vector element type
jakub at gcc dot gnu.org
gcc-bugzilla@gcc.gnu.org
Tue Jan 13 19:13:00 GMT 2015
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=64286
--- Comment #8 from Jakub Jelinek <jakub at gcc dot gnu.org> ---
Author: jakub
Date: Tue Jan 13 19:12:47 2015
New Revision: 219550
URL: https://gcc.gnu.org/viewcvs?rev=219550&root=gcc&view=rev
Log:
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:
trunk/gcc/testsuite/gcc.target/i386/avx2-pr64286.c
Modified:
trunk/gcc/ChangeLog
trunk/gcc/ree.c
trunk/gcc/testsuite/ChangeLog
More information about the Gcc-bugs
mailing list