public inbox for gcc-patches@gcc.gnu.org
 help / color / mirror / Atom feed
* [PATCH] Remove restriction of SLP vectorizing internal function calls
@ 2021-10-21  8:31 Richard Biener
  0 siblings, 0 replies; only message in thread
From: Richard Biener @ 2021-10-21  8:31 UTC (permalink / raw)
  To: gcc-patches

We already checked for unsupported internal throwing calls,
general nothrow is not required.

Bootstrapped and tested on x86_64-unknown-linux-gnu, pushed.

2021-10-21  Richard Biener  <rguenther@suse.de>

	* tree-vect-slp.c (vect_build_slp_tree_1): Remove
	superfluous gimple_call_nothrow_p check.
---
 gcc/tree-vect-slp.c | 1 -
 1 file changed, 1 deletion(-)

diff --git a/gcc/tree-vect-slp.c b/gcc/tree-vect-slp.c
index 709bcb63686..eff46405e87 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 ())
-- 
2.31.1

^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~2021-10-21  8:31 UTC | newest]

Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2021-10-21  8:31 [PATCH] Remove restriction of SLP vectorizing internal function calls Richard Biener

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).