public inbox for gcc-cvs@sourceware.org help / color / mirror / Atom feed
From: Jeff Law <law@gcc.gnu.org> To: gcc-cvs@gcc.gnu.org Subject: [gcc r12-1485] Minor improvement to compare elimination Date: Tue, 15 Jun 2021 16:43:52 +0000 (GMT) [thread overview] Message-ID: <20210615164352.7BC2E38515EE@sourceware.org> (raw) https://gcc.gnu.org/g:6d43ec50966cafb339eb6a370a5d767a24f673e1 commit r12-1485-g6d43ec50966cafb339eb6a370a5d767a24f673e1 Author: Jeff Law <jeffreyalaw@gmail.com> Date: Tue Jun 15 12:42:42 2021 -0400 Minor improvement to compare elimination gcc/ * compare-elim.c (try_eliminate_compare): Run DCE to clean things up before eliminating comparisons. Diff: --- gcc/compare-elim.c | 1 + 1 file changed, 1 insertion(+) diff --git a/gcc/compare-elim.c b/gcc/compare-elim.c index 85085cd6973..607eadc3d96 100644 --- a/gcc/compare-elim.c +++ b/gcc/compare-elim.c @@ -906,6 +906,7 @@ try_eliminate_compare (struct comparison *cmp) static unsigned int execute_compare_elim_after_reload (void) { + df_set_flags (DF_LR_RUN_DCE); df_analyze (); gcc_checking_assert (!all_compares.exists ());
reply other threads:[~2021-06-15 16:43 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=20210615164352.7BC2E38515EE@sourceware.org \ --to=law@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).