From: Richard Biener Date: Thu, 21 Oct 2021 07:36:28 +0000 (+0200) Subject: Remove restriction of SLP vectorizing internal function calls X-Git-Tag: basepoints/gcc-13~3713 X-Git-Url: http://git.ipfire.org/?a=commitdiff_plain;h=f5ef4da3ccdfbedb44cb21205527cfdbbec95cbd;p=thirdparty%2Fgcc.git Remove restriction of SLP vectorizing internal function calls We already checked for unsupported internal throwing calls, general nothrow is not required. 2021-10-21 Richard Biener * tree-vect-slp.c (vect_build_slp_tree_1): Remove superfluous gimple_call_nothrow_p check. --- diff --git a/gcc/tree-vect-slp.c b/gcc/tree-vect-slp.c index 709bcb636864..eff46405e871 100644 --- a/gcc/tree-vect-slp.c +++ b/gcc/tree-vect-slp.c @@ -975,7 +975,6 @@ vect_build_slp_tree_1 (vec_info *vinfo, unsigned char *swap, (gimple_call_internal_fn (call_stmt)))) || gimple_call_tail_p (call_stmt) || gimple_call_noreturn_p (call_stmt) - || !gimple_call_nothrow_p (call_stmt) || gimple_call_chain (call_stmt)) { if (dump_enabled_p ())