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

https://gcc.gnu.org/g:d5538d2073f7b17289b3ac65dce122904b67b5d9

commit d5538d2073f7b17289b3ac65dce122904b67b5d9
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] 2+ messages in thread

* [gcc(refs/users/guojiufu/heads/personal-branch)] without number_of_iterations_exit
@ 2021-05-20  6:28 Jiu Fu Guo
  0 siblings, 0 replies; 2+ messages in thread
From: Jiu Fu Guo @ 2021-05-20  6:28 UTC (permalink / raw)
  To: gcc-cvs

https://gcc.gnu.org/g:a18882b0f0764d2adb6878cbfeb1f8b684984850

commit a18882b0f0764d2adb6878cbfeb1f8b684984850
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] 2+ messages in thread

end of thread, other threads:[~2021-05-31  5:56 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2021-05-31  5:56 [gcc(refs/users/guojiufu/heads/personal-branch)] without number_of_iterations_exit Jiu Fu Guo
  -- strict thread matches above, loose matches on Subject: below --
2021-05-20  6:28 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).