This is the mail archive of the
gcc-patches@gcc.gnu.org
mailing list for the GCC project.
Re: Scheduler: Save state at the end of a block
- From: Maxim Kuvyrkov <maxim at codesourcery dot com>
- To: Bernd Schmidt <bernds at codesourcery dot com>, Vladimir Makarov <vmakarov at redhat dot com>
- Cc: GCC Patches <gcc-patches at gcc dot gnu dot org>
- Date: Tue, 14 Aug 2012 16:39:10 +1200
- Subject: Re: Scheduler: Save state at the end of a block
- References: <5028D7D4.3090209@codesourcery.com>
On 13/08/2012, at 10:32 PM, Bernd Schmidt wrote:
> This is a small patch for sched-rgn that attempts to save DFA state at
> the end of a basic block and re-use it in successor blocks. This was a
> customer-requested optimization; I've not seen it make much of a
> difference in any macro benchmarks.
>
> Bootstrapped and tested on x86_64-linux and also tested on c6x-elf. OK?
This patch looks OK to me. This is a simple optimization that brings one of the benefits of sched-ebb to sched-rgn.
Vladimir, you are probably the best person to formally approve this patch. Does it look OK to you?
Thank you,
--
Maxim Kuvyrkov
CodeSourcery / Mentor Graphics