[Bug tree-optimization/91723] [9/10 Regression] builtin fma is not optimized or vectorized as *+

jakub at gcc dot gnu.org gcc-bugzilla@gcc.gnu.org
Wed Sep 11 08:35:00 GMT 2019


https://gcc.gnu.org/bugzilla/show_bug.cgi?id=91723

--- Comment #5 from Jakub Jelinek <jakub at gcc dot gnu.org> ---
Author: jakub
Date: Wed Sep 11 08:34:41 2019
New Revision: 275634

URL: https://gcc.gnu.org/viewcvs?rev=275634&root=gcc&view=rev
Log:
        PR tree-optimization/91723
        * tree-vect-stmts.c (vectorizable_call): Use types_compatible_p check
        instead of pointer equality when checking if argument vectypes are
        the same.

        * gcc.dg/vect/vect-fma-3.c: New test.

Added:
    trunk/gcc/testsuite/gcc.dg/vect/vect-fma-3.c
Modified:
    trunk/gcc/ChangeLog
    trunk/gcc/testsuite/ChangeLog
    trunk/gcc/tree-vect-stmts.c


More information about the Gcc-bugs mailing list