re PR rtl-optimization/45834 (Redundant inter-loop edges in DDG)

2010-10-21  Bingfeng Mei  <bmei@broadcom.com>

	PR c/45834
        * alias.c (true_dependence_1): Remove obsolete check for QImode.
        (may_alias_p): Ditto.

From-SVN: r165781
This commit is contained in:
Bingfeng Mei 2010-10-21 15:16:01 +00:00 committed by Bingfeng Mei
parent ae1f6fcec0
commit 4fcf718a61
2 changed files with 8 additions and 2 deletions

View File

@ -1,3 +1,9 @@
2010-10-21 Bingfeng Mei <bmei@broadcom.com>
PR c/45834
* alias.c (true_dependence_1): Remove obsolete check for QImode.
(may_alias_p): Ditto.
2010-10-21 Martin Jambor <mjambor@suse.cz>
PR tree-optimization/45875

View File

@ -2459,7 +2459,7 @@ true_dependence_1 (const_rtx mem, enum machine_mode mem_mode, rtx mem_addr,
/* We cannot use aliases_everything_p to test MEM, since we must look
at MEM_ADDR, rather than XEXP (mem, 0). */
if (mem_mode == QImode || GET_CODE (mem_addr) == AND)
if (GET_CODE (mem_addr) == AND)
return 1;
/* ??? In true_dependence we also allow BLKmode to alias anything. Why
@ -2655,7 +2655,7 @@ may_alias_p (const_rtx mem, const_rtx x)
/* We cannot use aliases_everything_p to test MEM, since we must look
at MEM_ADDR, rather than XEXP (mem, 0). */
if (GET_MODE (mem) == QImode || GET_CODE (mem_addr) == AND)
if (GET_CODE (mem_addr) == AND)
return 1;
if (fixed_scalar_and_varying_struct_p (mem, x, mem_addr, x_addr,