This is the mail archive of the
gcc-patches@gcc.gnu.org
mailing list for the GCC project.
Re: [PATCH][PING] SCCVN alias oracle
- From: Diego Novillo <dnovillo at google dot com>
- To: Richard Guenther <rguenther at suse dot de>
- Cc: gcc-patches at gcc dot gnu dot org
- Date: Fri, 14 Mar 2008 07:50:55 -0700
- Subject: Re: [PATCH][PING] SCCVN alias oracle
- References: <Pine.LNX.4.64.0803141519290.4133@zhemvz.fhfr.qr>
On 3/14/08 7:21 AM, Richard Guenther wrote:
+ bool
+ refs_may_alias_p (tree ref1, tree ref2)
+ {
+ tree base1, base2;
+ HOST_WIDE_INT offset1 = 0, offset2 = 0;
+ HOST_WIDE_INT size1 = -1, size2 = -1;
+ HOST_WIDE_INT max_size1 = -1, max_size2 = -1;
+
Assert here that REF1 and REF2 are *_REF or any other kind we want to
handle.
The alias parts are OK. The SCCVN bits look fine to me, but I'd rather
have Danny go over them first.
Diego.