public inbox for gcc-cvs@sourceware.org
help / color / mirror / Atom feed
* [gcc(refs/users/marxin/heads/loop-unswitch-improvement-v7)] Fix me.
@ 2021-12-08 10:17 Martin Liska
  0 siblings, 0 replies; 4+ messages in thread
From: Martin Liska @ 2021-12-08 10:17 UTC (permalink / raw)
  To: gcc-cvs

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

commit cae0db72e5ca1975607c5b17713f66a7625e2608
Author: Martin Liska <mliska@suse.cz>
Date:   Wed Dec 1 15:03:19 2021 +0100

    Fix me.

Diff:
---
 gcc/tree-ssa-loop-unswitch.c | 5 ++++-
 1 file changed, 4 insertions(+), 1 deletion(-)

diff --git a/gcc/tree-ssa-loop-unswitch.c b/gcc/tree-ssa-loop-unswitch.c
index d15825908c2..d6412bd49aa 100644
--- a/gcc/tree-ssa-loop-unswitch.c
+++ b/gcc/tree-ssa-loop-unswitch.c
@@ -385,7 +385,10 @@ find_range_for_lhs (predicate_vector &predicate_path, tree lhs,
       bool true_edge = predicate_path[i].second;
 
       if (operand_equal_p (predicate->lhs, lhs, 0))
-	range = true_edge ? predicate->true_range : predicate->false_range;
+	{
+	  range = true_edge ? predicate->true_range : predicate->false_range;
+	  return;
+	}
     }
 }


^ permalink raw reply	[flat|nested] 4+ messages in thread

* [gcc(refs/users/marxin/heads/loop-unswitch-improvement-v7)] Fix me.
@ 2021-12-09 12:47 Martin Liska
  0 siblings, 0 replies; 4+ messages in thread
From: Martin Liska @ 2021-12-09 12:47 UTC (permalink / raw)
  To: gcc-cvs

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

commit acb2bff2b111f51cf8347d46d5f475b4572bf9a6
Author: Martin Liska <mliska@suse.cz>
Date:   Wed Dec 1 15:03:19 2021 +0100

    Fix me.

Diff:
---
 gcc/tree-ssa-loop-unswitch.c | 5 ++++-
 1 file changed, 4 insertions(+), 1 deletion(-)

diff --git a/gcc/tree-ssa-loop-unswitch.c b/gcc/tree-ssa-loop-unswitch.c
index 1bcbb2ef3b2..9a0ecb6f999 100644
--- a/gcc/tree-ssa-loop-unswitch.c
+++ b/gcc/tree-ssa-loop-unswitch.c
@@ -386,7 +386,10 @@ find_range_for_lhs (predicate_vector &predicate_path, tree lhs,
       bool true_edge = predicate_path[i].second;
 
       if (operand_equal_p (predicate->lhs, lhs, 0))
-	range = true_edge ? predicate->true_range : predicate->false_range;
+	{
+	  range = true_edge ? predicate->true_range : predicate->false_range;
+	  return;
+	}
     }
 }


^ permalink raw reply	[flat|nested] 4+ messages in thread

* [gcc(refs/users/marxin/heads/loop-unswitch-improvement-v7)] Fix me.
@ 2021-12-08 18:25 Martin Liska
  0 siblings, 0 replies; 4+ messages in thread
From: Martin Liska @ 2021-12-08 18:25 UTC (permalink / raw)
  To: gcc-cvs

https://gcc.gnu.org/g:1fae85640030b9d102ff4c41039c3957e0fca1d4

commit 1fae85640030b9d102ff4c41039c3957e0fca1d4
Author: Martin Liska <mliska@suse.cz>
Date:   Wed Dec 1 15:03:19 2021 +0100

    Fix me.

Diff:
---
 gcc/tree-ssa-loop-unswitch.c | 5 ++++-
 1 file changed, 4 insertions(+), 1 deletion(-)

diff --git a/gcc/tree-ssa-loop-unswitch.c b/gcc/tree-ssa-loop-unswitch.c
index 1bcbb2ef3b2..9a0ecb6f999 100644
--- a/gcc/tree-ssa-loop-unswitch.c
+++ b/gcc/tree-ssa-loop-unswitch.c
@@ -386,7 +386,10 @@ find_range_for_lhs (predicate_vector &predicate_path, tree lhs,
       bool true_edge = predicate_path[i].second;
 
       if (operand_equal_p (predicate->lhs, lhs, 0))
-	range = true_edge ? predicate->true_range : predicate->false_range;
+	{
+	  range = true_edge ? predicate->true_range : predicate->false_range;
+	  return;
+	}
     }
 }


^ permalink raw reply	[flat|nested] 4+ messages in thread

* [gcc(refs/users/marxin/heads/loop-unswitch-improvement-v7)] Fix me.
@ 2021-12-07 16:49 Martin Liska
  0 siblings, 0 replies; 4+ messages in thread
From: Martin Liska @ 2021-12-07 16:49 UTC (permalink / raw)
  To: gcc-cvs

https://gcc.gnu.org/g:79bba3d5262bae7f431c0ded0cdf1c5193e23801

commit 79bba3d5262bae7f431c0ded0cdf1c5193e23801
Author: Martin Liska <mliska@suse.cz>
Date:   Wed Dec 1 15:03:19 2021 +0100

    Fix me.

Diff:
---
 gcc/tree-ssa-loop-unswitch.c | 5 ++++-
 1 file changed, 4 insertions(+), 1 deletion(-)

diff --git a/gcc/tree-ssa-loop-unswitch.c b/gcc/tree-ssa-loop-unswitch.c
index d15825908c2..d6412bd49aa 100644
--- a/gcc/tree-ssa-loop-unswitch.c
+++ b/gcc/tree-ssa-loop-unswitch.c
@@ -385,7 +385,10 @@ find_range_for_lhs (predicate_vector &predicate_path, tree lhs,
       bool true_edge = predicate_path[i].second;
 
       if (operand_equal_p (predicate->lhs, lhs, 0))
-	range = true_edge ? predicate->true_range : predicate->false_range;
+	{
+	  range = true_edge ? predicate->true_range : predicate->false_range;
+	  return;
+	}
     }
 }


^ permalink raw reply	[flat|nested] 4+ messages in thread

end of thread, other threads:[~2021-12-09 12:47 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2021-12-08 10:17 [gcc(refs/users/marxin/heads/loop-unswitch-improvement-v7)] Fix me Martin Liska
  -- strict thread matches above, loose matches on Subject: below --
2021-12-09 12:47 Martin Liska
2021-12-08 18:25 Martin Liska
2021-12-07 16:49 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).