public inbox for gcc-cvs@sourceware.org
help / color / mirror / Atom feed
* [gcc r11-8748] Disable poor value processing in ranger cache.
@ 2021-07-14 21:58 Andrew Macleod
0 siblings, 0 replies; only message in thread
From: Andrew Macleod @ 2021-07-14 21:58 UTC (permalink / raw)
To: gcc-cvs
https://gcc.gnu.org/g:86534c07a390e240ffea51653945de85df7a3632
commit r11-8748-g86534c07a390e240ffea51653945de85df7a3632
Author: Andrew MacLeod <amacleod@redhat.com>
Date: Wed Jun 23 12:55:14 2021 -0400
Disable poor value processing in ranger cache.
* gimple-range-cache.cc (ranger_cache::push_poor_value): Disable
poor value processing.
Diff:
---
gcc/gimple-range-cache.cc | 17 +++--------------
1 file changed, 3 insertions(+), 14 deletions(-)
diff --git a/gcc/gimple-range-cache.cc b/gcc/gimple-range-cache.cc
index bc4b557b493..068905d4774 100644
--- a/gcc/gimple-range-cache.cc
+++ b/gcc/gimple-range-cache.cc
@@ -846,20 +846,9 @@ ranger_cache::register_dependency (tree name, tree dep)
bool
ranger_cache::push_poor_value (basic_block bb, tree name)
{
- if (m_poor_value_list.length ())
- {
- // Don't push anything else to the same block. If there are multiple
- // things required, another request will come during a later evaluation
- // and this prevents oscillation building uneccessary depth.
- if ((m_poor_value_list.last ()).bb == bb)
- return false;
- }
-
- struct update_record rec;
- rec.bb = bb;
- rec.calc = name;
- m_poor_value_list.safe_push (rec);
- return true;
+ // Disable poor value processing for GCC 11. It has been disabled in GCC 12
+ // as adding too much churn/compile time for too little benefit.
+ return false;
}
// Provide lookup for the gori-computes class to access the best known range
^ permalink raw reply [flat|nested] only message in thread
only message in thread, other threads:[~2021-07-14 21:58 UTC | newest]
Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2021-07-14 21:58 [gcc r11-8748] Disable poor value processing in ranger cache Andrew Macleod
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).