From: Luc Van Oostenryck <luc.vanoostenryck@gmail.com>
To: linux-sparse@vger.kernel.org
Cc: Luc Van Oostenryck <luc.vanoostenryck@gmail.com>
Subject: [PATCH 0/2] adjust phi-sources when merging BBs
Date: Thu, 12 Nov 2020 00:52:30 +0100 [thread overview]
Message-ID: <20201111235232.78450-1-luc.vanoostenryck@gmail.com> (raw)
When merging BBs, phi-sources from the bottom BB should 'overwrite'
the ones from the top BB which should be ignored. This is currently
the not case and both phi-sources are present in the resulting BB.
This doesn't make much sense for the corresponding phi-node and
also causes other problems like hindering further simplifications.
This series contains a testcase and a patch for this.
Luc Van Oostenryck (2):
add testcase for phi-adjusting during BB merge
adjust phi-sources when merging BBs
flow.c | 28 +++++++++++++++++++++++++
validation/optim/merge_bbe-adjust_phi.c | 23 ++++++++++++++++++++
2 files changed, 51 insertions(+)
create mode 100644 validation/optim/merge_bbe-adjust_phi.c
--
2.29.2
next reply other threads:[~2020-11-12 1:47 UTC|newest]
Thread overview: 3+ messages / expand[flat|nested] mbox.gz Atom feed top
2020-11-11 23:52 Luc Van Oostenryck [this message]
2020-11-11 23:52 ` [PATCH 1/2] add testcase for phi-adjusting during BB merge Luc Van Oostenryck
2020-11-11 23:52 ` [PATCH 2/2] adjust phi-sources when merging BBs 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=20201111235232.78450-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).