From: Aldy Hernandez <aldyh@redhat.com>
To: Jeff Law <jeffreyalaw@gmail.com>
Cc: GCC patches <gcc-patches@gcc.gnu.org>,
Andrew MacLeod <amacleod@redhat.com>,
Martin Sebor <msebor@redhat.com>
Subject: Re: [PATCH] Try to resolve paths in threader without looking further back.
Date: Mon, 25 Oct 2021 08:47:32 +0200 [thread overview]
Message-ID: <CAGm3qMWLVk6PLcstimeObMBc=NzO03cPG66V8_77UOyJ1x56Kw@mail.gmail.com> (raw)
In-Reply-To: <85207069-a935-7622-c343-24587f15ff36@redhat.com>
On Sun, Oct 24, 2021 at 8:25 PM Aldy Hernandez <aldyh@redhat.com> wrote:
>
> On 10/24/21 6:57 PM, Jeff Law wrote:
>
> >> Ughhhh....we could put the test back, check for some random large
> >> number, and come up with a more satisfactory test later? ;-)
> > I thought our "counting" based tests could only check equality (ie,
> > expect to see this string precisely N times). Though if we could check
> > that # threads realized was > some low water mark, that'd probably be
> > better than what we've got right now.
>
> Andrew actually had a patch for a dejagnu construct doing just that
> (scan-tree-dump-minimum), but I just noticed it didn't work quite right
> for this test.
>
> This is a bit embarrassing, but upon further analysis I've just noticed
> that the number of threadable candidates has been exploding over the
> year, but the ones that actually make it past the block copier
> restrictions plus rewire_first_differing_edge, etc, only changed by 1
> with this patch. So perhaps we don't need to bend over backward (just
> yet anyhow).
For the record, the differing thread is expected and correct.
Before the patch we have these 3 threads:
[59] Registering jump thread: (6, 10) incoming edge; (10, 32) normal
(32, 33) normal (33, 36) nocopy;
[60] Registering jump thread: (7, 10) incoming edge; (10, 32) normal
(32, 33) normal (33, 36) nocopy;
[61] Registering jump thread: (8, 10) incoming edge; (10, 32) normal
(32, 33) normal (33, 36) nocopy;
Whereas with the new patch, we don't need to go as far back to thread:
[59] Registering jump thread: (10, 32) incoming edge; (32, 33) normal
(33, 36) nocopy;
Aldy
next prev parent reply other threads:[~2021-10-25 6:47 UTC|newest]
Thread overview: 28+ messages / expand[flat|nested] mbox.gz Atom feed top
2021-10-20 10:28 Aldy Hernandez
2021-10-20 14:35 ` Martin Sebor
2021-10-20 15:15 ` Aldy Hernandez
2021-10-20 20:01 ` Jeff Law
2021-10-21 7:17 ` Aldy Hernandez
2021-10-21 14:50 ` Martin Sebor
2021-10-22 11:22 ` Aldy Hernandez
2021-10-22 14:27 ` Martin Sebor
2021-10-22 15:18 ` Aldy Hernandez
2021-10-22 15:59 ` Martin Sebor
2021-10-23 8:31 ` Aldy Hernandez
2021-10-21 17:59 ` Jeff Law
2021-10-21 7:22 ` Richard Biener
2021-10-20 20:19 ` Jeff Law
2021-10-21 10:15 ` Aldy Hernandez
2021-10-22 3:34 ` Jeff Law
2021-10-22 3:53 ` Aldy Hernandez
2021-10-24 16:57 ` Jeff Law
2021-10-24 17:55 ` Bernhard Reutner-Fischer
2021-10-24 18:21 ` Richard Biener
2021-10-24 18:25 ` Aldy Hernandez
2021-10-25 6:47 ` Aldy Hernandez [this message]
2021-10-25 18:42 ` Jeff Law
2021-10-25 18:49 ` Aldy Hernandez
2021-10-25 18:58 ` Jeff Law
2021-10-25 16:58 ` Andrew MacLeod
2021-10-25 17:01 ` Aldy Hernandez
2021-10-25 17:02 ` Jeff Law
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='CAGm3qMWLVk6PLcstimeObMBc=NzO03cPG66V8_77UOyJ1x56Kw@mail.gmail.com' \
--to=aldyh@redhat.com \
--cc=amacleod@redhat.com \
--cc=gcc-patches@gcc.gnu.org \
--cc=jeffreyalaw@gmail.com \
--cc=msebor@redhat.com \
/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 read-only IMAP folder(s) and NNTP newsgroup(s).