public inbox for gcc-cvs@sourceware.org help / color / mirror / Atom feed
From: Martin Liska <marxin@gcc.gnu.org> To: gcc-cvs@gcc.gnu.org Subject: [gcc(refs/users/marxin/heads/loop-unswitch-improvement-v7)] Do not use auto_vec. Date: Thu, 9 Dec 2021 12:48:06 +0000 (GMT) [thread overview] Message-ID: <20211209124806.8EE843858426@sourceware.org> (raw) https://gcc.gnu.org/g:bae3b9b549d6d867424d6557ba5f1a760f46734e commit bae3b9b549d6d867424d6557ba5f1a760f46734e Author: Martin Liska <mliska@suse.cz> Date: Wed Dec 1 15:49:30 2021 +0100 Do not use auto_vec. Diff: --- gcc/tree-ssa-loop-unswitch.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/gcc/tree-ssa-loop-unswitch.c b/gcc/tree-ssa-loop-unswitch.c index 4eb5e442da4..42df2c4cc11 100644 --- a/gcc/tree-ssa-loop-unswitch.c +++ b/gcc/tree-ssa-loop-unswitch.c @@ -101,7 +101,6 @@ 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 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); @@ -201,7 +200,8 @@ tree_ssa_unswitch_loops (void) unsigned int budget = init_loop_unswitch_info (loop) + param_max_unswitch_insns; - auto_predicate_vector predicate_path; + predicate_vector predicate_path; + predicate_path.create (8); changed |= tree_unswitch_single_loop (loop, 0, predicate_path, budget);
next reply other threads:[~2021-12-09 12:48 UTC|newest] Thread overview: 4+ messages / expand[flat|nested] mbox.gz Atom feed top 2021-12-09 12:48 Martin Liska [this message] -- strict thread matches above, loose matches on Subject: below -- 2021-12-08 18:26 Martin Liska 2021-12-08 10:17 Martin Liska 2021-12-07 16:49 Martin Liska
Reply instructions: You may reply publicly to this message via plain-text email using any one of the following methods: * Save the following mbox file, import it into your mail client, and reply-to-all from there: mbox Avoid top-posting and favor interleaved quoting: https://en.wikipedia.org/wiki/Posting_style#Interleaved_style * Reply using the --to, --cc, and --in-reply-to switches of git-send-email(1): git send-email \ --in-reply-to=20211209124806.8EE843858426@sourceware.org \ --to=marxin@gcc.gnu.org \ --cc=gcc-cvs@gcc.gnu.org \ /path/to/YOUR_REPLY https://kernel.org/pub/software/scm/git/docs/git-send-email.html * If your mail client supports setting the In-Reply-To header via mailto: links, try the mailto: linkBe sure your reply has a Subject: header at the top and a blank line before the message body.
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).