* [PATCH, preapproved] Disable DF_VERIFY_SCHEDULED at end of df_verify (PR72855)
@ 2016-08-11 22:28 Bill Schmidt
0 siblings, 0 replies; only message in thread
From: Bill Schmidt @ 2016-08-11 22:28 UTC (permalink / raw)
To: GCC Patches; +Cc: richard.guenther
Hi,
PR72855 reports a compile-time problem with df_verify being called once per loop.
The compile time drops from about 2 hours to 9 minutes for the reported test case
when we disable the DF_VERIFY_SCHEDULED flag after df_verify runs. That's all
this patch does.
Bin Cheng has a separate patch to factor some code in loop-doloop.c that will also
provide benefit.
There is a separate issue that this compile-time problem should not occur at all
with release checking, and yet it is. That is still under investigation.
Bootstrapped and tested on powerpc64le-unknown-linux-gnu with no regressions.
Preapproved, committed.
Thanks,
Bill
2016-08-11 Richard Biener <rguenther@suse.de>
Bill Schmidt <wschmidt@linux.vnet.ibm.com>
PR rtl-optimization/72855
* df-core.c (df_verify): Turn off DF_VERIFY_SCHEDULED at end.
Index: gcc/df-core.c
===================================================================
--- gcc/df-core.c (revision 239394)
+++ gcc/df-core.c (working copy)
@@ -1833,6 +1833,7 @@ df_verify (void)
if (df_live)
df_live_verify_transfer_functions ();
#endif
+ df->changeable_flags &= ~DF_VERIFY_SCHEDULED;
}
#ifdef DF_DEBUG_CFG
^ permalink raw reply [flat|nested] only message in thread
only message in thread, other threads:[~2016-08-11 22:28 UTC | newest]
Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2016-08-11 22:28 [PATCH, preapproved] Disable DF_VERIFY_SCHEDULED at end of df_verify (PR72855) Bill Schmidt
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).