]> git.ipfire.org Git - thirdparty/gcc.git/commit
Cleanup get_range_info
authorAldy Hernandez <aldyh@redhat.com>
Thu, 20 May 2021 10:23:49 +0000 (12:23 +0200)
committerAldy Hernandez <aldyh@redhat.com>
Wed, 26 May 2021 19:31:27 +0000 (21:31 +0200)
commitaf66d0af87cf36d923d4663935a2b7a682753a24
treea68b19ba886b99e72be942a4bdb27d2ddc9701bd
parent45f4e2b01b82c72b3a11ff4ad184d7edcf0e63d4
Cleanup get_range_info

Now that there is only one user of get_range_info() we can clean this up
to always return a range instead of pairs of wide_ints.

A follow-up patch will inline both get_range_info and get_ptr_nonnull
into its only remaining user.

gcc/ChangeLog:

* tree-ssanames.c (get_range_info): Merge both copies of
get_range_info into one that works with irange.
* tree-ssanames.h (get_range_info): Remove version that works on
wide_ints.
gcc/tree-ssanames.c
gcc/tree-ssanames.h