RE: [PATCH] derive alias information from named address spaces.

2011-09-22 Thread Bingfeng Mei
c.gnu.org; Ulrich Weigand > Subject: Re: [PATCH] derive alias information from named address spaces. > > On 09/20/2011 01:46 AM, Bingfeng Mei wrote: > >if (MEM_P (rtlx) && MEM_P (rtly) > >&& MEM_ADDR_SPACE (rtlx) != MEM_ADDR_SPACE (rtly)) > > -

Re: [PATCH] derive alias information from named address spaces.

2011-09-20 Thread Richard Henderson
On 09/20/2011 01:46 AM, Bingfeng Mei wrote: >if (MEM_P (rtlx) && MEM_P (rtly) >&& MEM_ADDR_SPACE (rtlx) != MEM_ADDR_SPACE (rtly)) > -return 0; > +{ > + if (!targetm.addr_space.subset_p (MEM_ADDR_SPACE (rtlx), > +MEM_ADDR_SPACE (rtly))

[PATCH] derive alias information from named address spaces.

2011-09-20 Thread Bingfeng Mei
Hello, The following patch is to derive more alias information from named address spaces using existing target hook. It was discussed in http://gcc.gnu.org/ml/gcc/2011-09/msg00180.html Bootstrapped and tested on x86-64. OK for trunk? Thanks, Bingfeng 2011-09-20 Bingfeng Mei * alias