From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: by sourceware.org (Postfix, from userid 1851) id AB94E3858426; Mon, 22 Nov 2021 12:52:51 +0000 (GMT) DKIM-Filter: OpenDKIM Filter v2.11.0 sourceware.org AB94E3858426 Content-Type: text/plain; charset="us-ascii" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit From: Martin Liska To: gcc-cvs@gcc.gnu.org Subject: [gcc(refs/users/marxin/heads/loop-unswitch-improvement)] Add one more comment. X-Act-Checkin: gcc X-Git-Author: Martin Liska X-Git-Refname: refs/users/marxin/heads/loop-unswitch-improvement X-Git-Oldrev: d66bcc2c1104bb6577adfe97bf1fb41d91de9809 X-Git-Newrev: 897eedc407c738f661b505e7ad600a3a2b269454 Message-Id: <20211122125251.AB94E3858426@sourceware.org> Date: Mon, 22 Nov 2021 12:52:51 +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, 22 Nov 2021 12:52:51 -0000 https://gcc.gnu.org/g:897eedc407c738f661b505e7ad600a3a2b269454 commit 897eedc407c738f661b505e7ad600a3a2b269454 Author: Martin Liska Date: Mon Nov 22 13:52:32 2021 +0100 Add one more comment. Diff: --- gcc/tree-ssa-loop-unswitch.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/gcc/tree-ssa-loop-unswitch.c b/gcc/tree-ssa-loop-unswitch.c index ae2b5e1239a..6895e5b8bb9 100644 --- a/gcc/tree-ssa-loop-unswitch.c +++ b/gcc/tree-ssa-loop-unswitch.c @@ -208,7 +208,8 @@ is_maybe_undefined (const tree name, gimple *stmt, class loop *loop) /* Checks whether we can unswitch LOOP on condition at end of BB -- one of its basic blocks (for what it means see comments below). - RANGER is gimple ranger used in this pass. */ + RANGER is gimple ranger used in this pass and unswitch_predicate is returned + if there is an opportunity for unswitching. */ static unswitch_predicate * tree_may_unswitch_on (basic_block bb, class loop *loop, gimple_ranger *ranger)