public inbox for gcc-cvs@sourceware.org
help / color / mirror / Atom feed
* [gcc(refs/users/marxin/heads/loop-unswitch-improvement)] Add one more comment.
@ 2021-11-22 12:52 Martin Liska
  0 siblings, 0 replies; only message in thread
From: Martin Liska @ 2021-11-22 12:52 UTC (permalink / raw)
  To: gcc-cvs

https://gcc.gnu.org/g:897eedc407c738f661b505e7ad600a3a2b269454

commit 897eedc407c738f661b505e7ad600a3a2b269454
Author: Martin Liska <mliska@suse.cz>
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)


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

only message in thread, other threads:[~2021-11-22 12:52 UTC | newest]

Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2021-11-22 12:52 [gcc(refs/users/marxin/heads/loop-unswitch-improvement)] Add one more comment Martin Liska

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