Re: Do not ask alias subset query when access patch can not extend

2019-06-04 Thread Bernhard Reutner-Fischer
Honza, On 31 May 2019 11:44:09 CEST, Jan Hubicka wrote: >Bootstrapped/regtested x86_64-linux (all languages > * tree-ssa-alias.c (access_patch_may_continue_p): New function. > (aliasing_component_refs_p): Use it. s/patch/path/g I suspect your fingers play tricks on you on

Re: Do not ask alias subset query when access patch can not extend

2019-05-31 Thread Jan Hubicka
> > +/* Return true if TYPE is a composite type (i.e. we may apply one of > > handled > > + components on it). */ > > + > > +static bool > > +access_patch_may_continue_p (tree type) > > 'path', but I think type_has_components_p would be a better fit? Thanks, looks better indeed! > > > +{ > >

Re: Do not ask alias subset query when access patch can not extend

2019-05-31 Thread Richard Biener
On Fri, 31 May 2019, Jan Hubicka wrote: > Hi > in most common cases we have access paths that ends by read/write of a > non-composite type. When aliasing_component_refs_p finds no match in > the acccess path it asks alias oracle if the one alias set is subset of > other to figure out whether one

Do not ask alias subset query when access patch can not extend

2019-05-31 Thread Jan Hubicka
Hi in most common cases we have access paths that ends by read/write of a non-composite type. When aliasing_component_refs_p finds no match in the acccess path it asks alias oracle if the one alias set is subset of other to figure out whether one access path can be extended to the other. This is