From: Luc Van Oostenryck <luc.vanoostenryck@gmail.com>
To: linux-sparse@vger.kernel.org
Cc: Luc Van Oostenryck <luc.vanoostenryck@gmail.com>
Subject: [RFC PATCH 0/2] cse: place common expressions in the Lowest Common Dominator
Date: Fri, 4 Dec 2020 18:16:02 +0100 [thread overview]
Message-ID: <20201204171604.69635-1-luc.vanoostenryck@gmail.com> (raw)
This series extend the current CSE by using the lowest common dominator
instead of the more limiting 'common single parent'.
It allows significantly more common expressions to be eliminated.
However, it has the annoying disadvantage of slightly making worse
the 'context imbalance' problem. As such, it's not intended to be
merged as-is.
Luc Van Oostenryck (2):
flowgraph: add a function to calculate the Lowest Common Denominator
cse: place common expressions in the Lowest Common Dominator
cse.c | 38 ++++++++++----------------------------
flowgraph.c | 15 +++++++++++++++
flowgraph.h | 4 ++++
3 files changed, 29 insertions(+), 28 deletions(-)
--
2.29.2
next reply other threads:[~2020-12-04 17:17 UTC|newest]
Thread overview: 3+ messages / expand[flat|nested] mbox.gz Atom feed top
2020-12-04 17:16 Luc Van Oostenryck [this message]
2020-12-04 17:16 ` [PATCH 1/2] flowgraph: add a function to calculate the Lowest Common Denominator Luc Van Oostenryck
2020-12-04 17:16 ` [PATCH 2/2] cse: place common expressions in the Lowest Common Dominator Luc Van Oostenryck
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=20201204171604.69635-1-luc.vanoostenryck@gmail.com \
--to=luc.vanoostenryck@gmail.com \
--cc=linux-sparse@vger.kernel.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: link
Be 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 NNTP newsgroup(s).