This is the mail archive of the gcc@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

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



On Apr 30, 2004, at 4:57 PM, Zdenek Dvorak wrote:


Hello,

Writes to global memory are not hoisted out of a computation loop.

Try this with the LNO branch, iirc it can do this.

Not as of gcc (GCC) 3.5-tree-ssa-lno 20040430 (merged 20040425) (-O2 -ftree-loop-optimize -ffast-math), neither with static nor without.

tree-ssa aliasing probably does not take restricted pointers into account, since it decides that all the accesses in the loop may alias.

points-to *does* take restricted pointers into account, but he said it didn't help, IIRC.
I can look into why.



Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]