[PATCH] cselib.c memory invalidation shortcut

Steven Bosscher stevenb.gcc@gmail.com
Tue Nov 28 21:16:00 GMT 2006


Hi,

In alias.c, we have this comment:

  /* (mem:BLK (scratch)) is a special mechanism to conflict with everything.
     This is used in epilogue deallocation functions, and in cselib.  */

With this patch, we use this in cselib too.

Bootstrapped and tested long ago on x86_64-linux.  I'll commit this to
the trunk unless someone objects.

Gr.
Steven

* cselib.c (cselib_init): Use special MEM rtx form for callmem.
* alias.c (canon_true_dependence): Update comment.
-------------- next part --------------
A non-text attachment was scrubbed...
Name: cselib_callmem_fix.diff
Type: text/x-patch
Size: 1220 bytes
Desc: not available
URL: <http://gcc.gnu.org/pipermail/gcc-patches/attachments/20061128/2571295f/attachment.bin>


More information about the Gcc-patches mailing list