]> git.ipfire.org Git - thirdparty/gcc.git/commit
pr45241 give up dot_prod pattern searching if stmt is outside the loop.
authorChangpeng Fang <changpeng.fang@amd.com>
Thu, 12 Aug 2010 22:18:32 +0000 (22:18 +0000)
committerChangpeng Fang <cfang@gcc.gnu.org>
Thu, 12 Aug 2010 22:18:32 +0000 (22:18 +0000)
commit3cb35c125045f8c470dcf0e58f7d7b81bb437091
tree272cdeba51c3ef614b9354e283c5f3383c30e8c0
parent95718cf89d773741e7b8cc876104b5b6483c1399
pr45241 give up dot_prod pattern searching if stmt is outside the loop.

* tree-vect-patterns.c (vect_recog_dot_prod_pattern): Give
up dot_prod pattern searching if a stmt is outside the loop.

* gcc.dg/vect/no-tree-pre-pr45241.c: New.

From-SVN: r163207
gcc/ChangeLog
gcc/testsuite/ChangeLog
gcc/testsuite/gcc.dg/vect/no-tree-pre-pr45241.c [new file with mode: 0644]
gcc/tree-vect-patterns.c