[PATCH V2] IRA: Speed up setup_left_conflict_sizes_p

Jeff Law law@redhat.com
Thu Apr 16 20:03:00 GMT 2015


On 03/11/2015 07:34 PM, Zhouyi Zhou wrote:
> From: Zhouyi Zhou <zhouzhouyi@gmail.com>
>
> In function setup_left_conflict_sizes_p, left conflict subnodes sizes
> are computed in a bottom-to-up fashion through the regnodes foreast.
>
> Speed up the process from prevent node itself to involve in this
> computation.
>
> I have no write access to GCC SVN repository, if it OK, can you commit
> for me?
>
> (Thanks Richard for reviewing)
>
> Bootstrap and regtest scheduled on x86_64 GNU/Linux
> Signed-off-by: Zhouyi Zhou <yizhouzhou@ict.ac.cn>
> ---
>   gcc/ChangeLog   |    5 +++++
>   gcc/ira-color.c |    8 +++-----
>   2 files changed, 8 insertions(+), 5 deletions(-)
>
> diff --git a/gcc/ChangeLog b/gcc/ChangeLog
> index 53f582b..a495dfc 100644
> --- a/gcc/ChangeLog
> +++ b/gcc/ChangeLog
> @@ -1,3 +1,8 @@
> +2015-03-12  Zhouyi Zhou  <yizhouzhou@ict.ac.cn>
> +
> +	* ira-color.c (setup_left_conflict_sizes_p): Prevent node itself
> +	from computing left conflict subnodes size.
Approved and installed after the usual bootstrap and regression testing.

Thanks,
jeff



More information about the Gcc-patches mailing list