]> git.ipfire.org Git - thirdparty/gcc.git/commit - gcc/tree-vect-patterns.c
Use combined_fn in tree-vect-patterns.c
authorRichard Sandiford <richard.sandiford@arm.com>
Tue, 17 Nov 2015 18:46:22 +0000 (18:46 +0000)
committerRichard Sandiford <rsandifo@gcc.gnu.org>
Tue, 17 Nov 2015 18:46:22 +0000 (18:46 +0000)
commit7a31e5ef6dab7c1a2d780369804352351f4630ea
tree3b92c615ff01d1322fdda744a328cc629c7d9a59
parentc97d1c9dc4bf70364920ca123c2ab3aed082e00c
Use combined_fn in tree-vect-patterns.c

Another patch to extend uses of built_in_function to combined_fn,
this time in tree-vect-patterns.c.  The old code didn't handle the
long double pow variants, but I think that's because noone had a target
that would benefit rather than because the code would mishandle them.

Tested on x86_64-linux-gnu, aarch64-linux-gnu and arm-linux-gnueabi.

gcc/
* tree-vect-patterns.c: Include case-cfn-macros.h.
(vect_recog_pow_pattern): Use combined_fn instead of built-in codes.

From-SVN: r230482
gcc/ChangeLog
gcc/tree-vect-patterns.c