diff options
author | Jakub Jelinek <jakub@redhat.com> | 2015-11-30 15:56:08 +0100 |
---|---|---|
committer | Jakub Jelinek <jakub@gcc.gnu.org> | 2015-11-30 15:56:08 +0100 |
commit | 7b90c63a28e85014656ecab28459dcd23c7d2457 (patch) | |
tree | 85c8ca3151ec7fc442e5d5aa3ec4917317da3cff /gcc/targhooks.h | |
parent | 7a5a0decae0af00cf736ec2c8558c185e59e47b8 (diff) | |
download | gcc-7b90c63a28e85014656ecab28459dcd23c7d2457.zip gcc-7b90c63a28e85014656ecab28459dcd23c7d2457.tar.gz gcc-7b90c63a28e85014656ecab28459dcd23c7d2457.tar.bz2 |
re PR tree-optimization/68501 (sqrt builtin is not used anymore)
PR tree-optimization/68501
* target.def (builtin_reciprocal): Replace the 3 arguments with
a gcall * one, adjust description.
* targhooks.h (default_builtin_reciprocal): Replace the 3 arguments
with a gcall * one.
* targhooks.c (default_builtin_reciprocal): Likewise.
* tree-ssa-math-opts.c (pass_cse_reciprocals::execute): Use
targetm.builtin_reciprocal even on internal functions, adjust
the arguments and allow replacing an internal function with normal
built-in.
* config/i386/i386.c (ix86_builtin_reciprocal): Replace the 3 arguments
with a gcall * one. Handle internal fns too.
* config/rs6000/rs6000.c (rs6000_builtin_reciprocal): Likewise.
* config/aarch64/aarch64.c (aarch64_builtin_reciprocal): Likewise.
* doc/tm.texi (builtin_reciprocal): Document.
From-SVN: r231075
Diffstat (limited to 'gcc/targhooks.h')
-rw-r--r-- | gcc/targhooks.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/gcc/targhooks.h b/gcc/targhooks.h index f5d04e6..c809470 100644 --- a/gcc/targhooks.h +++ b/gcc/targhooks.h @@ -90,7 +90,7 @@ extern tree default_builtin_vectorized_conversion (unsigned int, tree, tree); extern int default_builtin_vectorization_cost (enum vect_cost_for_stmt, tree, int); -extern tree default_builtin_reciprocal (unsigned int, bool, bool); +extern tree default_builtin_reciprocal (gcall *); extern HOST_WIDE_INT default_vector_alignment (const_tree); |