From: Aldy Hernandez <aldyh@redhat.com>
To: Andrew MacLeod <amacleod@redhat.com>,
gcc-patches <gcc-patches@gcc.gnu.org>
Subject: Re: [COMMITTED 5/5] PR tree-optimization/108697 - Create a lazy ssa_cache.
Date: Thu, 27 Apr 2023 10:30:40 +0200 [thread overview]
Message-ID: <672a4f35-0f58-eca6-23ee-3526f66cdb92@redhat.com> (raw)
In-Reply-To: <8aab3ad2-f9cc-1211-a22f-491304685d8a@redhat.com>
On 4/26/23 21:27, Andrew MacLeod wrote:
> Sparsely used ssa caches can benefit from using a bitmap to determine if
> a name already has an entry. The path_query class was already managing
> something like this internally, but there is benefit to making it
> generally available.
>
> ssa_lazy_cache inherits from ssa_cache and adds management of the
> bitmap. The self-managed version in path_query has been removed,
> cleaned up, and replaced with this lazy version. It is also now used in
> "assume_query" processing.
>
> All 5 patches combined produce about
> - a 0.4% speedup in total compilation time,
> - about a 1% speedup in VRP
> - and threading picks up a more impressive 13% improvement.
That's very cool, btw. Thanks for working on this.
Aldy
prev parent reply other threads:[~2023-04-27 8:30 UTC|newest]
Thread overview: 2+ messages / expand[flat|nested] mbox.gz Atom feed top
2023-04-26 19:27 Andrew MacLeod
2023-04-27 8:30 ` Aldy Hernandez [this message]
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=672a4f35-0f58-eca6-23ee-3526f66cdb92@redhat.com \
--to=aldyh@redhat.com \
--cc=amacleod@redhat.com \
--cc=gcc-patches@gcc.gnu.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 read-only IMAP folder(s) and NNTP newsgroup(s).