Use combined_fn in tree-ssa-reassoc.c
authorRichard Sandiford <richard.sandiford@arm.com>
Tue, 17 Nov 2015 18:45:20 +0000 (18:45 +0000)
committerRichard Sandiford <rsandifo@gcc.gnu.org>
Tue, 17 Nov 2015 18:45:20 +0000 (18:45 +0000)
commit314709cdbe54cd0f68eaf093b111c89816284502
tree33f1acf473eb37db730d3aa201a74bf7a2f7dce8
parent9c0a9e1277571a16e711d5a60ed11713d9109b98
Use combined_fn in tree-ssa-reassoc.c

Another patch to extend uses of built_in_function to combined_fn, this time
in tree-ssa-reassoc.c.

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

gcc/
* tree-ssa-reassoc.c: Include case-cfn-macros.h.
(stmt_is_power_of_op): Use combined_fn instead of built-in codes.
(decrement_power, acceptable_pow_call): Likewise.
(attempt_builtin_copysign): Likewise.

From-SVN: r230480
gcc/ChangeLog
gcc/tree-ssa-reassoc.c