linux-sparse.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* [RFC PATCH 0/2] cse: place common expressions in the Lowest Common Dominator
@ 2020-12-04 17:16 Luc Van Oostenryck
  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
  0 siblings, 2 replies; 3+ messages in thread
From: Luc Van Oostenryck @ 2020-12-04 17:16 UTC (permalink / raw)
  To: linux-sparse; +Cc: Luc Van Oostenryck

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


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

end of thread, other threads:[~2020-12-04 17:19 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2020-12-04 17:16 [RFC PATCH 0/2] cse: place common expressions in the Lowest Common Dominator Luc Van Oostenryck
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

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).