public inbox for gcc-bugs@sourceware.org
help / color / mirror / Atom feed
* [Bug tree-optimization/72443] VRP derives poor range for "y = (int)x + C;" when x has an anti-range
[not found] <bug-72443-4@http.gcc.gnu.org/bugzilla/>
@ 2021-07-20 8:04 ` pinskia at gcc dot gnu.org
2021-07-27 13:38 ` amacleod at redhat dot com
1 sibling, 0 replies; 2+ messages in thread
From: pinskia at gcc dot gnu.org @ 2021-07-20 8:04 UTC (permalink / raw)
To: gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=72443
Andrew Pinski <pinskia at gcc dot gnu.org> changed:
What |Removed |Added
----------------------------------------------------------------------------
Last reconfirmed|2016-07-26 00:00:00 |2021-7-20
Severity|normal |enhancement
Keywords| |missed-optimization
--- Comment #3 from Andrew Pinski <pinskia at gcc dot gnu.org> ---
(In reply to Richard Biener from comment #2)
> Sth that would greatly simplify VRP (IMHO) is to dump anti-ranges from the
> range representation and instead have the lattice value be composed of
> the union of two ranges (that's more powerful for ranges _and_ it can
> represent all anti-ranges) [just make it the union of N ranges with N
> being configurable - it might be possible to ditch equivalences on the
> way though they compose the range as intersections of N ranges]
I noticed the ranger work has that implemented.
^ permalink raw reply [flat|nested] 2+ messages in thread
* [Bug tree-optimization/72443] VRP derives poor range for "y = (int)x + C;" when x has an anti-range
[not found] <bug-72443-4@http.gcc.gnu.org/bugzilla/>
2021-07-20 8:04 ` [Bug tree-optimization/72443] VRP derives poor range for "y = (int)x + C;" when x has an anti-range pinskia at gcc dot gnu.org
@ 2021-07-27 13:38 ` amacleod at redhat dot com
1 sibling, 0 replies; 2+ messages in thread
From: amacleod at redhat dot com @ 2021-07-27 13:38 UTC (permalink / raw)
To: gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=72443
Andrew Macleod <amacleod at redhat dot com> changed:
What |Removed |Added
----------------------------------------------------------------------------
CC| |amacleod at redhat dot com
Resolution|--- |FIXED
Status|NEW |RESOLVED
--- Comment #4 from Andrew Macleod <amacleod at redhat dot com> ---
Ranger VRP passes produce:
Non-varying global ranges:
=========================:
y_7 : int [-2147483647, 5][12, +INF]
So.. fixed I guess.
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2021-07-27 13:38 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
[not found] <bug-72443-4@http.gcc.gnu.org/bugzilla/>
2021-07-20 8:04 ` [Bug tree-optimization/72443] VRP derives poor range for "y = (int)x + C;" when x has an anti-range pinskia at gcc dot gnu.org
2021-07-27 13:38 ` amacleod at redhat dot com
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).