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

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

commit ef01d3cba7a5f55e0af2634f740b66ed737d23b4
Author: Martin Liska <mliska@suse.cz>
Date:   Wed Dec 8 11:28:35 2021 +0100

    Simplify irange condition.

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

diff --git a/gcc/tree-ssa-loop-unswitch.c b/gcc/tree-ssa-loop-unswitch.c
index 2b72e562bc7..811f0cad343 100644
--- a/gcc/tree-ssa-loop-unswitch.c
+++ b/gcc/tree-ssa-loop-unswitch.c
@@ -557,7 +557,6 @@ evaluate_control_stmt_using_entry_checks (gimple *stmt,
 	  int_range_max path_range;
 
 	  if (find_range_for_lhs (predicate_path, lhs, path_range)
-	      && !path_range.undefined_p ()
 	      && fold_range (r, stmt, path_range)
 	      && r.singleton_p ())
 	    return r.zero_p () ? boolean_false_node : boolean_true_node;


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

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

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

commit eddbc4643853ff8de4bcf5117750793decd2e1f5
Author: Martin Liska <mliska@suse.cz>
Date:   Wed Dec 8 11:28:35 2021 +0100

    Simplify irange condition.

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

diff --git a/gcc/tree-ssa-loop-unswitch.c b/gcc/tree-ssa-loop-unswitch.c
index cb4be6d52e2..b083d990d4c 100644
--- a/gcc/tree-ssa-loop-unswitch.c
+++ b/gcc/tree-ssa-loop-unswitch.c
@@ -558,7 +558,6 @@ evaluate_control_stmt_using_entry_checks (gimple *stmt,
 	  int_range_max path_range;
 
 	  if (find_range_for_lhs (predicate_path, lhs, path_range)
-	      && !path_range.undefined_p ()
 	      && fold_range (r, stmt, path_range)
 	      && r.singleton_p ())
 	    return r.zero_p () ? boolean_false_node : boolean_true_node;


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

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

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

commit f125dac9c948d102e555ac91fb7d7ebb992d7043
Author: Martin Liska <mliska@suse.cz>
Date:   Wed Dec 8 11:28:35 2021 +0100

    Simplify irange condition.

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

diff --git a/gcc/tree-ssa-loop-unswitch.c b/gcc/tree-ssa-loop-unswitch.c
index cb4be6d52e2..b083d990d4c 100644
--- a/gcc/tree-ssa-loop-unswitch.c
+++ b/gcc/tree-ssa-loop-unswitch.c
@@ -558,7 +558,6 @@ evaluate_control_stmt_using_entry_checks (gimple *stmt,
 	  int_range_max path_range;
 
 	  if (find_range_for_lhs (predicate_path, lhs, path_range)
-	      && !path_range.undefined_p ()
 	      && fold_range (r, stmt, path_range)
 	      && r.singleton_p ())
 	    return r.zero_p () ? boolean_false_node : boolean_true_node;


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

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

Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2021-12-08 11:14 [gcc(refs/users/marxin/heads/loop-unswitch-improvement-v7)] Simplify irange condition Martin Liska
2021-12-08 18:26 Martin Liska
2021-12-09 12:48 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).