public inbox for gcc-cvs@sourceware.org
help / color / mirror / Atom feed
* [gcc(refs/users/marxin/heads/loop-unswitch-improvement-v7)] Simplify condition.
@ 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:535d9440140bd2bbcc7b1d0ac30ea16ffdeb400c

commit 535d9440140bd2bbcc7b1d0ac30ea16ffdeb400c
Author: Martin Liska <mliska@suse.cz>
Date:   Tue Dec 7 15:25:17 2021 +0100

    Simplify condition.

Diff:
---
 gcc/tree-ssa-loop-unswitch.c | 6 +-----
 1 file changed, 1 insertion(+), 5 deletions(-)

diff --git a/gcc/tree-ssa-loop-unswitch.c b/gcc/tree-ssa-loop-unswitch.c
index a99a2b7a80b..6e5dc923fba 100644
--- a/gcc/tree-ssa-loop-unswitch.c
+++ b/gcc/tree-ssa-loop-unswitch.c
@@ -515,11 +515,7 @@ evaluate_control_stmt_using_entry_checks (gimple *stmt,
 					  const auto_edge_flag &ignored_edge_flag,
 					  hash_set<edge> *ignored_edges)
 {
-  tree lhs = NULL_TREE;
-
-  // FIXME: remove?
-  if (predicate_path.is_empty ())
-    return NULL_TREE;
+  tree lhs;
 
   gcond *condition = dyn_cast<gcond *> (stmt);
   gswitch *swtch = dyn_cast<gswitch *> (stmt);


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

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

https://gcc.gnu.org/g:46dcbbbfd8369fee2917cfaeca5cd472fdba04ab

commit 46dcbbbfd8369fee2917cfaeca5cd472fdba04ab
Author: Martin Liska <mliska@suse.cz>
Date:   Tue Dec 7 15:25:17 2021 +0100

    Simplify condition.

Diff:
---
 gcc/tree-ssa-loop-unswitch.c | 6 +-----
 1 file changed, 1 insertion(+), 5 deletions(-)

diff --git a/gcc/tree-ssa-loop-unswitch.c b/gcc/tree-ssa-loop-unswitch.c
index 3f533b51d83..c1a3f899d98 100644
--- a/gcc/tree-ssa-loop-unswitch.c
+++ b/gcc/tree-ssa-loop-unswitch.c
@@ -516,11 +516,7 @@ evaluate_control_stmt_using_entry_checks (gimple *stmt,
 					  const auto_edge_flag &ignored_edge_flag,
 					  hash_set<edge> *ignored_edges)
 {
-  tree lhs = NULL_TREE;
-
-  // FIXME: remove?
-  if (predicate_path.is_empty ())
-    return NULL_TREE;
+  tree lhs;
 
   gcond *condition = dyn_cast<gcond *> (stmt);
   gswitch *swtch = dyn_cast<gswitch *> (stmt);


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

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

https://gcc.gnu.org/g:337c312bf6d1bf69cae352affc4605f809f905f5

commit 337c312bf6d1bf69cae352affc4605f809f905f5
Author: Martin Liska <mliska@suse.cz>
Date:   Tue Dec 7 15:25:17 2021 +0100

    Simplify condition.

Diff:
---
 gcc/tree-ssa-loop-unswitch.c | 6 +-----
 1 file changed, 1 insertion(+), 5 deletions(-)

diff --git a/gcc/tree-ssa-loop-unswitch.c b/gcc/tree-ssa-loop-unswitch.c
index 3f533b51d83..c1a3f899d98 100644
--- a/gcc/tree-ssa-loop-unswitch.c
+++ b/gcc/tree-ssa-loop-unswitch.c
@@ -516,11 +516,7 @@ evaluate_control_stmt_using_entry_checks (gimple *stmt,
 					  const auto_edge_flag &ignored_edge_flag,
 					  hash_set<edge> *ignored_edges)
 {
-  tree lhs = NULL_TREE;
-
-  // FIXME: remove?
-  if (predicate_path.is_empty ())
-    return NULL_TREE;
+  tree lhs;
 
   gcond *condition = dyn_cast<gcond *> (stmt);
   gswitch *swtch = dyn_cast<gswitch *> (stmt);


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

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

https://gcc.gnu.org/g:0e88015f3958435cc66b123e0ebaa9f7c2d59338

commit 0e88015f3958435cc66b123e0ebaa9f7c2d59338
Author: Martin Liska <mliska@suse.cz>
Date:   Tue Dec 7 15:25:17 2021 +0100

    Simplify condition.

Diff:
---
 gcc/tree-ssa-loop-unswitch.c | 6 +-----
 1 file changed, 1 insertion(+), 5 deletions(-)

diff --git a/gcc/tree-ssa-loop-unswitch.c b/gcc/tree-ssa-loop-unswitch.c
index a99a2b7a80b..6e5dc923fba 100644
--- a/gcc/tree-ssa-loop-unswitch.c
+++ b/gcc/tree-ssa-loop-unswitch.c
@@ -515,11 +515,7 @@ evaluate_control_stmt_using_entry_checks (gimple *stmt,
 					  const auto_edge_flag &ignored_edge_flag,
 					  hash_set<edge> *ignored_edges)
 {
-  tree lhs = NULL_TREE;
-
-  // FIXME: remove?
-  if (predicate_path.is_empty ())
-    return NULL_TREE;
+  tree lhs;
 
   gcond *condition = dyn_cast<gcond *> (stmt);
   gswitch *swtch = dyn_cast<gswitch *> (stmt);


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

end of thread, other threads:[~2021-12-09 12:48 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)] Simplify condition Martin Liska
  -- strict thread matches above, loose matches on Subject: below --
2021-12-09 12:48 Martin Liska
2021-12-08 18:26 Martin Liska
2021-12-07 16:50 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).