All of lore.kernel.org
 help / color / mirror / Atom feed
From: Christopher Li <sparse@chrisli.org>
To: Luc Van Oostenryck <luc.vanoostenryck@gmail.com>
Cc: Linux-Sparse <linux-sparse@vger.kernel.org>,
	Dibyendu Majumdar <mobile@majumdar.org.uk>,
	Linus Torvalds <torvalds@linux-foundation.org>
Subject: Re: sparse-next and preview of 0.5.1-rc5
Date: Sat, 15 Jul 2017 22:34:46 -0400	[thread overview]
Message-ID: <CANeU7Qkt4+QsgrrwUSwiiJ_V77gnJgb5YW0qSwwx1-uu9-GhLw@mail.gmail.com> (raw)
In-Reply-To: <20170715182159.ltikqlbe6rktxfhz@ltop.local>

On Sat, Jul 15, 2017 at 2:22 PM, Luc Van Oostenryck
<luc.vanoostenryck@gmail.com> wrote:
> [Sorry, I'm on vacation and very little computer access].

I am very glad to heard that you are back.

>
> I still object to the kill_unreachable_bbs() patch and I ask
> to reconsider it in favor of the original one.

Of course.  I will hold the RC5 for you. I haven't push the change to
master yet. It is only in sparse-next, I can still roll back the change in we
wants to.

Can you show me some C input file that your original patch will do the
right thing and current one will miss the opportunity to simplify?
Even for the case it is just a suspect of producing worse code is fine.
Just point me to some test case, I will investigate and compare the
results.

My guess is that, there is a good chance some where missing a simplify
opportunity. If it does make a difference and I can't fix it in a timely manner.
Let's use your patch and deal with it after the release. In the long run, I
would prefer not using the two pass deletion of the dead bb, if they can
produce the similar level of optimized result.

> Since this has already been discussed, I can only invite to read
> again the original patch and the one it fixes where the situation
> is explained, I think, clearly.

The original patch does not have test case showing the byte code
difference with this two approach. I need some test examples :-)

Again, glad to know that you are back.

Chris

  reply	other threads:[~2017-07-16  2:34 UTC|newest]

Thread overview: 12+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2017-07-14 17:48 sparse-next and preview of 0.5.1-rc5 Christopher Li
2017-07-15 18:22 ` Luc Van Oostenryck
2017-07-16  2:34   ` Christopher Li [this message]
2017-07-17  1:20     ` Christopher Li
2017-07-19 22:17     ` Luc Van Oostenryck
2017-07-20  3:19       ` Christopher Li
2017-07-20 22:35         ` Luc Van Oostenryck
2017-07-21  3:40           ` Christopher Li
2017-07-22  3:55             ` Christopher Li
2017-07-26  9:00               ` Luc Van Oostenryck
2017-07-26 16:10                 ` Christopher Li
2017-07-26 19:28                   ` 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=CANeU7Qkt4+QsgrrwUSwiiJ_V77gnJgb5YW0qSwwx1-uu9-GhLw@mail.gmail.com \
    --to=sparse@chrisli.org \
    --cc=linux-sparse@vger.kernel.org \
    --cc=luc.vanoostenryck@gmail.com \
    --cc=mobile@majumdar.org.uk \
    --cc=torvalds@linux-foundation.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 an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.