public inbox for gcc-cvs@sourceware.org help / color / mirror / Atom feed
From: Richard Biener <rguenth@gcc.gnu.org> To: gcc-cvs@gcc.gnu.org Subject: [gcc r13-2279] tree-optimization/73550 - apply MAX_NUM_CHAINS consistently Date: Tue, 30 Aug 2022 13:38:54 +0000 (GMT) [thread overview] Message-ID: <20220830133854.C30EE3851C31@sourceware.org> (raw) https://gcc.gnu.org/g:ce776225249d99b089d02424b9472811a6bbd7f5 commit r13-2279-gce776225249d99b089d02424b9472811a6bbd7f5 Author: Richard Biener <rguenther@suse.de> Date: Tue Aug 30 14:37:23 2022 +0200 tree-optimization/73550 - apply MAX_NUM_CHAINS consistently The MAX_NUM_CHAINS is applied once with <= and once with < which results in the chains not limited but analyis dropped completely. That's one issue in the PR. PR tree-optimization/73550 * gimple-predicate-analysis.cc (predicate::init_from_control_deps): Do not apply MAX_NUM_CHAINS again. Diff: --- gcc/gimple-predicate-analysis.cc | 7 ------- 1 file changed, 7 deletions(-) diff --git a/gcc/gimple-predicate-analysis.cc b/gcc/gimple-predicate-analysis.cc index 068196cb157..00c6bfc50a3 100644 --- a/gcc/gimple-predicate-analysis.cc +++ b/gcc/gimple-predicate-analysis.cc @@ -1674,13 +1674,6 @@ predicate::init_from_control_deps (const vec<edge> *dep_chains, if (num_chains == 0) return; - if (num_chains >= MAX_NUM_CHAINS) - { - if (dump_file) - fprintf (dump_file, "MAX_NUM_CHAINS exceeded: %u\n", num_chains); - return; - } - /* Convert the control dependency chain into a set of predicates. */ m_preds.reserve (num_chains);
reply other threads:[~2022-08-30 13:38 UTC|newest] Thread overview: [no followups] expand[flat|nested] mbox.gz Atom feed
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=20220830133854.C30EE3851C31@sourceware.org \ --to=rguenth@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).