This is the mail archive of the
mailing list for the GCC project.
Re: [PATCH] cleanups for reduction code (autopar pass)
- From: Razya Ladelsky <RAZYA at il dot ibm dot com>
- To: gcc-patches at gcc dot gnu dot org, Zdenek Dvorak <rakdver at kam dot mff dot cuni dot cz>
- Date: Mon, 3 Dec 2007 13:19:07 +0200
- Subject: Re: [PATCH] cleanups for reduction code (autopar pass)
Razya Ladelsky/Haifa/IBM wrote on 13/11/2007 13:46:28:
> This patch cleans up the reduction code :
> I removed the creation of "reduction_initial" variable, and stored
> the (user's) initialization value
> in the reduction field of the shared struct.
> At the join of the threads, the loaded value is already correct.
> (I removed the stmt that joins reduction_initial to the loaded value.
> 2007-11-13 Razya Ladelsky <email@example.com>
> * tree-parloops.c (reduiction_info): Change documentation of
> reduction_initial field.
> (initialize_reductions): Remove creation of reduction_initial
> (create_loads_for_reductions): don't join reduction_initial to
> the loaded value.
> Tested on autopar tescases.
> Doing a full bootstrap + regression now.
> Ok to commit once passes testing?
> [attachment "diff_cleanup.txt" deleted by Razya Ladelsky/Haifa/IBM]