[tree-ssa] Write to global memory not hoisted out of loop

Steven Bosscher stevenb@suse.de
Fri Apr 30 16:25:00 GMT 2004


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





More information about the Gcc mailing list