This is the mail archive of the
mailing list for the GCC project.
Re: [PATCH] Improve lim for pulling loads from global variable outof loops
On Sat, 2004-11-13 at 04:43, Zdenek Dvorak wrote:
> PR tree-optimization/18431
> * tree-flow.h (stmt_reads_memory_p): Declare.
> * tree-ssa-loop-im.c (stmt_cost): Use stmt_reads_memory_p.
> * tree-ssa.c (stmt_reads_memory_p): New function.
Perhaps we should also test for 'ann->has_volatiles_ops' in this new
OK with those changes.