From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: by sourceware.org (Postfix, from userid 2066) id A26E43858C27; Mon, 31 May 2021 05:56:23 +0000 (GMT) DKIM-Filter: OpenDKIM Filter v2.11.0 sourceware.org A26E43858C27 Content-Type: text/plain; charset="us-ascii" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit From: Jiu Fu Guo To: gcc-cvs@gcc.gnu.org Subject: [gcc(refs/users/guojiufu/heads/personal-branch)] without number_of_iterations_exit X-Act-Checkin: gcc X-Git-Author: Jiufu Guo X-Git-Refname: refs/users/guojiufu/heads/personal-branch X-Git-Oldrev: b200ba56a169328d737ef5f5d2af5a89ebb39bd9 X-Git-Newrev: d5538d2073f7b17289b3ac65dce122904b67b5d9 Message-Id: <20210531055623.A26E43858C27@sourceware.org> Date: Mon, 31 May 2021 05:56:23 +0000 (GMT) X-BeenThere: gcc-cvs@gcc.gnu.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: Gcc-cvs mailing list List-Unsubscribe: , List-Archive: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 31 May 2021 05:56:23 -0000 https://gcc.gnu.org/g:d5538d2073f7b17289b3ac65dce122904b67b5d9 commit d5538d2073f7b17289b3ac65dce122904b67b5d9 Author: Jiufu Guo 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);