public inbox for gcc-cvs@sourceware.org
help / color / mirror / Atom feed
* [gcc(refs/users/guojiufu/heads/guojiufu-branch)] without number_of_iterations_exit
@ 2021-05-31  6:03 Jiu Fu Guo
  0 siblings, 0 replies; only message in thread
From: Jiu Fu Guo @ 2021-05-31  6:03 UTC (permalink / raw)
  To: gcc-cvs

https://gcc.gnu.org/g:214aa25917290ad2c44a463e1d58c22c630115cb

commit 214aa25917290ad2c44a463e1d58c22c630115cb
Author: Jiufu Guo <guojiufu@linux.ibm.com>
Date:   Fri May 14 23:23:45 2021 +0800

    without number_of_iterations_exit

Diff:
---
 gcc/tree-ssa-loop-split.c | 7 -------
 1 file changed, 7 deletions(-)

diff --git a/gcc/tree-ssa-loop-split.c b/gcc/tree-ssa-loop-split.c
index 11d3582dd3d..425593ca70f 100644
--- a/gcc/tree-ssa-loop-split.c
+++ b/gcc/tree-ssa-loop-split.c
@@ -1666,13 +1666,6 @@ get_ne_cond_branch (struct loop *loop)
       if (TREE_CODE (iv.base) == INTEGER_CST)
 	continue;
 
-      /* If no overflow/wrap happen, no need to split.  */
-      class tree_niter_desc niter;
-      if (!number_of_iterations_exit (loop, e, &niter, false, false, NULL))
-	continue;
-      if (niter.control.no_overflow)
-	return NULL;
-
       /* Check loop is simple to split.  */
       gcc_assert (bb != loop->latch);


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

only message in thread, other threads:[~2021-05-31  6:03 UTC | newest]

Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2021-05-31  6:03 [gcc(refs/users/guojiufu/heads/guojiufu-branch)] without number_of_iterations_exit Jiu Fu Guo

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).