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] Externalize data-ref analysis - part 2


On Tue, 2005-06-28 at 14:49 +0300, Ira Rosen wrote:
> 
> 
> 
> This is the second part - of generalization/externalization data-ref
> analysis from the vectorizer.
> 
> In data-refs bases comparison we switch from calling get_alias_set and
> alias_set_conflict to check type memory tags of symbols directly as
> suggested by Diego.
> 
> Bootstrapped and tested on ppc-darwin.
> 
> O.K. for mainline?
> 

Why do you keep passing around both the base and the data reference
object, when the base is in the data reference object.
I would have expected that you could simply pass the data reference
object and do 

tree base_a = DR_OBJECT_BASE (dra)
tree base_b = DR_OBJECT_BASE (drb)

at the top of the functions where you need it?



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