PR tree-optimization/72866
commitadca2d164133479d376d3bf760042ebf2190b413
authorjakub <jakub@138bc75d-0d04-0410-961f-82ee72b054a4>
Tue, 30 Aug 2016 06:54:02 +0000 (30 06:54 +0000)
committerjakub <jakub@138bc75d-0d04-0410-961f-82ee72b054a4>
Tue, 30 Aug 2016 06:54:02 +0000 (30 06:54 +0000)
tree4f8204ec287148ff2138179eba1c73407dc67118
parent06cee168e6f63093f9ad54d3f21e16052cb82b68
PR tree-optimization/72866
* tree-vect-patterns.c (search_type_for_mask): Turn into
a small wrapper, move all code to ...
(search_type_for_mask_1): ... this new function.  Add caching
and adjust recursive calls.

* gcc.dg/vect/pr72866.c: New test.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@239856 138bc75d-0d04-0410-961f-82ee72b054a4
gcc/ChangeLog
gcc/testsuite/ChangeLog
gcc/testsuite/gcc.dg/vect/pr72866.c [new file with mode: 0644]
gcc/tree-vect-patterns.c