This is the mail archive of the
gcc@gcc.gnu.org
mailing list for the GCC project.
Re: [tree-ssa] Write to global memory not hoisted out of loop
- From: Steven Bosscher <stevenb at suse dot de>
- To: Richard Guenther <rguenth at tat dot physik dot uni-tuebingen dot de>
- Cc: gcc at gcc dot gnu dot org
- Date: Fri, 30 Apr 2004 14:33:31 +0200 (CEST)
- Subject: Re: [tree-ssa] Write to global memory not hoisted out of loop
- Organization: SuSE Linux AG
- References: <Pine.LNX.4.53.0404301303000.8230@bellatrix.tat.physik.uni-tuebingen.de>
On Apr 30, 2004 01:14 PM, Richard Guenther <rguenth@tat.physik.uni-tuebingen.de> wrote:
> Writes to global memory are not hoisted out of a computation loop.
Try this with the LNO branch, iirc it can do this.
> Is there already a PR about this pessimization? (Couldn't find one)
Why is this a pessimization, does gcc 3.4.0 do what you want? Looks
like just a missed opportunity. I am more surprised that making tmp
static doesn't help...
Gr.
Steven