re PR tree-optimization/91723 (builtin fma is not optimized or vectorized as *+)
authorJakub Jelinek <jakub@redhat.com>
Wed, 11 Sep 2019 08:34:41 +0000 (10:34 +0200)
committerJakub Jelinek <jakub@gcc.gnu.org>
Wed, 11 Sep 2019 08:34:41 +0000 (10:34 +0200)
commit26d815a3e587ac04dbd63eec3fb5aecb04db7242
tree5b032c0adc701307f94217840e497ba3f0f66ffb
parent6d5093dad6a4927d23a914300605e76dd00c7a15
re PR tree-optimization/91723 (builtin fma is not optimized or vectorized as *+)

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.

From-SVN: r275634
gcc/ChangeLog
gcc/testsuite/ChangeLog
gcc/testsuite/gcc.dg/vect/vect-fma-3.c [new file with mode: 0644]
gcc/tree-vect-stmts.c