public inbox for gcc-cvs@sourceware.org
help / color / mirror / Atom feed
* [gcc(refs/users/marxin/heads/loop-unswitch-improvement-v7)] Do not use auto_vec when passing..
@ 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:0d2e9f0d9def25c5e4b38e74570b6b4a9dc06159

commit 0d2e9f0d9def25c5e4b38e74570b6b4a9dc06159
Author: Martin Liska <mliska@suse.cz>
Date:   Wed Dec 1 15:13:31 2021 +0100

    Do not use auto_vec when passing..

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

diff --git a/gcc/tree-ssa-loop-unswitch.c b/gcc/tree-ssa-loop-unswitch.c
index 9a0ecb6f999..4eb5e442da4 100644
--- a/gcc/tree-ssa-loop-unswitch.c
+++ b/gcc/tree-ssa-loop-unswitch.c
@@ -101,7 +101,8 @@ static vec<vec<unswitch_predicate *>> *bb_predicates = NULL;
 static gimple_ranger *ranger = NULL;
 
 /* The type represents a predicate path leading to a basic block.  */
-typedef auto_vec<std::pair<unswitch_predicate *, bool>> predicate_vector;
+typedef vec<std::pair<unswitch_predicate *, bool>> auto_predicate_vector;
+typedef vec<std::pair<unswitch_predicate *, bool>> predicate_vector;
 
 static class loop *tree_unswitch_loop (class loop *, basic_block, tree);
 static bool tree_unswitch_single_loop (class loop *, int,
@@ -200,7 +201,7 @@ tree_ssa_unswitch_loops (void)
 	  unsigned int budget
 	    = init_loop_unswitch_info (loop) + param_max_unswitch_insns;
 
-	  predicate_vector predicate_path;
+	  auto_predicate_vector predicate_path;
 	  changed |= tree_unswitch_single_loop (loop, 0, predicate_path,
 						budget);


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

* [gcc(refs/users/marxin/heads/loop-unswitch-improvement-v7)] Do not use auto_vec when passing..
@ 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:abf50e0b24ab4bdf684df839023006404a9cfc53

commit abf50e0b24ab4bdf684df839023006404a9cfc53
Author: Martin Liska <mliska@suse.cz>
Date:   Wed Dec 1 15:13:31 2021 +0100

    Do not use auto_vec when passing..

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

diff --git a/gcc/tree-ssa-loop-unswitch.c b/gcc/tree-ssa-loop-unswitch.c
index 9a0ecb6f999..4eb5e442da4 100644
--- a/gcc/tree-ssa-loop-unswitch.c
+++ b/gcc/tree-ssa-loop-unswitch.c
@@ -101,7 +101,8 @@ static vec<vec<unswitch_predicate *>> *bb_predicates = NULL;
 static gimple_ranger *ranger = NULL;
 
 /* The type represents a predicate path leading to a basic block.  */
-typedef auto_vec<std::pair<unswitch_predicate *, bool>> predicate_vector;
+typedef vec<std::pair<unswitch_predicate *, bool>> auto_predicate_vector;
+typedef vec<std::pair<unswitch_predicate *, bool>> predicate_vector;
 
 static class loop *tree_unswitch_loop (class loop *, basic_block, tree);
 static bool tree_unswitch_single_loop (class loop *, int,
@@ -200,7 +201,7 @@ tree_ssa_unswitch_loops (void)
 	  unsigned int budget
 	    = init_loop_unswitch_info (loop) + param_max_unswitch_insns;
 
-	  predicate_vector predicate_path;
+	  auto_predicate_vector predicate_path;
 	  changed |= tree_unswitch_single_loop (loop, 0, predicate_path,
 						budget);


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

* [gcc(refs/users/marxin/heads/loop-unswitch-improvement-v7)] Do not use auto_vec when passing..
@ 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:c5dec13865916161fe3cbd43a9b7eddf90e85cf2

commit c5dec13865916161fe3cbd43a9b7eddf90e85cf2
Author: Martin Liska <mliska@suse.cz>
Date:   Wed Dec 1 15:13:31 2021 +0100

    Do not use auto_vec when passing..

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

diff --git a/gcc/tree-ssa-loop-unswitch.c b/gcc/tree-ssa-loop-unswitch.c
index d6412bd49aa..5b625206945 100644
--- a/gcc/tree-ssa-loop-unswitch.c
+++ b/gcc/tree-ssa-loop-unswitch.c
@@ -100,7 +100,8 @@ static vec<vec<unswitch_predicate *>> *bb_predicates = NULL;
 static gimple_ranger *ranger = NULL;
 
 /* The type represents a predicate path leading to a basic block.  */
-typedef auto_vec<std::pair<unswitch_predicate *, bool>> predicate_vector;
+typedef vec<std::pair<unswitch_predicate *, bool>> auto_predicate_vector;
+typedef vec<std::pair<unswitch_predicate *, bool>> predicate_vector;
 
 static class loop *tree_unswitch_loop (class loop *, basic_block, tree);
 static bool tree_unswitch_single_loop (class loop *, int,
@@ -199,7 +200,7 @@ tree_ssa_unswitch_loops (void)
 	  unsigned int budget
 	    = init_loop_unswitch_info (loop) + param_max_unswitch_insns;
 
-	  predicate_vector predicate_path;
+	  auto_predicate_vector predicate_path;
 	  changed |= tree_unswitch_single_loop (loop, 0, predicate_path,
 						budget);


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

* [gcc(refs/users/marxin/heads/loop-unswitch-improvement-v7)] Do not use auto_vec when passing..
@ 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:0302c6bebcac2dcdc011eab1790881265fc87f99

commit 0302c6bebcac2dcdc011eab1790881265fc87f99
Author: Martin Liska <mliska@suse.cz>
Date:   Wed Dec 1 15:13:31 2021 +0100

    Do not use auto_vec when passing..

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

diff --git a/gcc/tree-ssa-loop-unswitch.c b/gcc/tree-ssa-loop-unswitch.c
index d6412bd49aa..5b625206945 100644
--- a/gcc/tree-ssa-loop-unswitch.c
+++ b/gcc/tree-ssa-loop-unswitch.c
@@ -100,7 +100,8 @@ static vec<vec<unswitch_predicate *>> *bb_predicates = NULL;
 static gimple_ranger *ranger = NULL;
 
 /* The type represents a predicate path leading to a basic block.  */
-typedef auto_vec<std::pair<unswitch_predicate *, bool>> predicate_vector;
+typedef vec<std::pair<unswitch_predicate *, bool>> auto_predicate_vector;
+typedef vec<std::pair<unswitch_predicate *, bool>> predicate_vector;
 
 static class loop *tree_unswitch_loop (class loop *, basic_block, tree);
 static bool tree_unswitch_single_loop (class loop *, int,
@@ -199,7 +200,7 @@ tree_ssa_unswitch_loops (void)
 	  unsigned int budget
 	    = init_loop_unswitch_info (loop) + param_max_unswitch_insns;
 
-	  predicate_vector predicate_path;
+	  auto_predicate_vector predicate_path;
 	  changed |= tree_unswitch_single_loop (loop, 0, predicate_path,
 						budget);


^ 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 18:25 [gcc(refs/users/marxin/heads/loop-unswitch-improvement-v7)] Do not use auto_vec when passing Martin Liska
  -- strict thread matches above, loose matches on Subject: below --
2021-12-09 12:48 Martin Liska
2021-12-08 10:17 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).