This is the mail archive of the gcc-patches@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: [PATCH] Improve lim for pulling loads from global variable outof loops


On Fri, 2004-11-12 at 09:35, Andrew Pinski wrote:

> 	* tree-ssa-loop-im.c (stmt_cost): Gimple variables should be
> 	pulled out too as they cause memory accesses.
> 
Your ChangeLog entry doesn't match the code.  Also, testing only for
is_gimple_addressable will not include global variables.  You want to
test is_global_var.


Diego.


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