aboutsummaryrefslogtreecommitdiff
path: root/gcc/optabs-tree.c
diff options
context:
space:
mode:
authorRichard Biener <rguenther@suse.de>2019-11-27 12:22:02 +0000
committerRichard Biener <rguenth@gcc.gnu.org>2019-11-27 12:22:02 +0000
commit477daf831aea18923733772d686eb1ed448d96e7 (patch)
treed91ff4c3a8535e380adfa6b1b37ab5f0055e8ef8 /gcc/optabs-tree.c
parent88feafba3cb5b186d53080c4958474065c4bd5d2 (diff)
downloadgcc-477daf831aea18923733772d686eb1ed448d96e7.zip
gcc-477daf831aea18923733772d686eb1ed448d96e7.tar.gz
gcc-477daf831aea18923733772d686eb1ed448d96e7.tar.bz2
target.def (TARGET_VECTORIZE_BUILTIN_CONVERSION): Remove.
2019-11-27 Richard Biener <rguenther@suse.de> * target.def (TARGET_VECTORIZE_BUILTIN_CONVERSION): Remove. * targhooks.c (default_builtin_vectorized_conversion): Likewise. * targhooks.h (default_builtin_vectorized_conversion): Likewise. * optabs-tree.c (supportable_convert_operation): Do not call targetm.vectorize.builtin_conversion. Remove unused decl parameter. * optabs-tree.h (supportable_convert_operation): Adjust. * doc/tm.texi.in (TARGET_VECTORIZE_BUILTIN_CONVERSION): Remove. * doc/tm.texi: Regenerate. * tree-ssa-forwprop.c (simplify_vector_constructor): Adjust. * tree-vect-generic.c (expand_vector_conversion): Likewise. * tree-vect-stmts.c (vect_gen_widened_results_half): Remove unused decl parameter and adjust. (vect_create_vectorized_promotion_stmts): Likewise. (vectorizable_conversion): Adjust. From-SVN: r278765
Diffstat (limited to 'gcc/optabs-tree.c')
-rw-r--r--gcc/optabs-tree.c19
1 files changed, 3 insertions, 16 deletions
diff --git a/gcc/optabs-tree.c b/gcc/optabs-tree.c
index 97cc592..a04e4ff 100644
--- a/gcc/optabs-tree.c
+++ b/gcc/optabs-tree.c
@@ -270,20 +270,16 @@ optab_for_tree_code (enum tree_code code, const_tree type,
Convert operations we currently support directly are FIX_TRUNC and FLOAT.
This function checks if these operations are supported
- by the target platform either directly (via vector tree-codes), or via
- target builtins.
+ by the target platform directly (via vector tree-codes).
Output:
- CODE1 is code of vector operation to be used when
- vectorizing the operation, if available.
- - DECL is decl of target builtin functions to be used
- when vectorizing the operation, if available. In this case,
- CODE1 is CALL_EXPR. */
+ vectorizing the operation, if available. */
bool
supportable_convert_operation (enum tree_code code,
tree vectype_out, tree vectype_in,
- tree *decl, enum tree_code *code1)
+ enum tree_code *code1)
{
machine_mode m1,m2;
bool truncp;
@@ -317,15 +313,6 @@ supportable_convert_operation (enum tree_code code,
return true;
}
- /* Now check for builtin. */
- if (targetm.vectorize.builtin_conversion
- && targetm.vectorize.builtin_conversion (code, vectype_out, vectype_in))
- {
- *code1 = CALL_EXPR;
- *decl = targetm.vectorize.builtin_conversion (code, vectype_out,
- vectype_in);
- return true;
- }
return false;
}