From: Martin Jambor <mjambor@suse.cz>
To: Aldy Hernandez <aldyh@redhat.com>, GCC Mailing List <gcc@gcc.gnu.org>
Cc: Andrew MacLeod <amacleod@redhat.com>,
Richard Biener <richard.guenther@gmail.com>
Subject: Re: Upcoming removal of legacy ranges and conversion to wide_ints.
Date: Fri, 05 May 2023 17:38:23 +0200 [thread overview]
Message-ID: <ri6cz3eiya8.fsf@suse.cz> (raw)
In-Reply-To: <e858f034-2b5e-8f45-7cb3-75a1c2386dd9@redhat.com>
Hi,
On Tue, Apr 25 2023, Aldy Hernandez via Gcc wrote:
> After GCC 13 is released we will remove legacy range support from the
> compiler, and convert irange's to wide_ints. I want to give everyone
> a heads up, to help understand what's involved and what the end result is.
>
[...]
>
> 1. Converting users of the old API to the new irange API.
>
[...]
>
> The IPA passes also use the old API, but I have plans (and patches)
> for revamping all of the IPA ranges. Details below.
Thanks a lot for taking care of this.
[..]
> IPA has been rolling their own ranges forever. They use a combination
> of the legacy API along with handcrafted pairs of wide_ints (ipa_vr).
> The passes must be divorced of its legacy dependency, and cleaned up a
> bit. IPA is also very tied to integers and pointers, and I see no
> reason why we can't keep track of float arguments, etc.
Agreed.
>
> I am sitting on a lot of additional patches to do 90% of the
> conversion, but need to consult with the IPA experts on various issues
> before proceeding (for instance, the lifetime of various structures).
> Among these patches are generic vrange LTO streaming functions and
> vrange hashing. I think it's time we make vrange a first class
> citizen for LTO/hashing and a few other things folks were doing in an
> ad-hoc manner. This should alleviate the maintenance burden on the
> IPA maintainers going forward. Note, that the IPA work is a
> follow-up, and only after careful consultation with the relevant
> maintainers.
I need to get up to speed when it comes to the new representation and
new API but I'll be happy to help.
Martin
prev parent reply other threads:[~2023-05-05 15:38 UTC|newest]
Thread overview: 2+ messages / expand[flat|nested] mbox.gz Atom feed top
2023-04-25 10:45 Aldy Hernandez
2023-05-05 15:38 ` Martin Jambor [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=ri6cz3eiya8.fsf@suse.cz \
--to=mjambor@suse.cz \
--cc=aldyh@redhat.com \
--cc=amacleod@redhat.com \
--cc=gcc@gcc.gnu.org \
--cc=richard.guenther@gmail.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).