diff options
author | Bingfeng Mei <bmei@broadcom.com> | 2010-08-09 14:44:03 +0000 |
---|---|---|
committer | Bingfeng Mei <meibf@gcc.gnu.org> | 2010-08-09 14:44:03 +0000 |
commit | c6ea834c83126f1a249525715f677ccf9969c30b (patch) | |
tree | e1019cb9c50fe10a946e21114e247d48c6ccc78a /gcc/cse.c | |
parent | 72ac05b04e2baf2ff9eebd42e6ff5f22fd3b1546 (diff) | |
download | gcc-c6ea834c83126f1a249525715f677ccf9969c30b.zip gcc-c6ea834c83126f1a249525715f677ccf9969c30b.tar.gz gcc-c6ea834c83126f1a249525715f677ccf9969c30b.tar.bz2 |
ddg.c (walk_mems_2): Moved from alias.c, use may_alias_p instead of alias_sets_conflict_p.
2010-08-09 Bingfeng Mei <bmei@broadcom.com>
* ddg.c (walk_mems_2): Moved from alias.c, use may_alias_p instead of
alias_sets_conflict_p.
(walk_mems_1): Moved from alias.c.
(insns_may_alias_p): New function, originally insn_alias_sets_conflict_p
in alias.c.
(add_inter_loop_mem_dep): Use insns_may_alias_p now.
* cse.c (cse_insn): New argument in calling nonoverlapping_memrefs_p.
* alias.c (walk_mems_2): Moved to ddg.c.
(walk_mems_1): Ditto.
(insn_alias_sets_conflict_p): Renamed to insns_may_alias_p and moved
to ddg.c.
(nonoverlapping_memrefs_p): Add flag to guard offset-based memory
disambiguation.
*(may_alias_p): New function to check whether two memory expression
may alias or not. Currently used in buidling inter-iteration memory
dependence.
*alias.h (nonoverlapping_memrefs_p): New flag as third argument.
(insn_alias_sets_conflict_p): Removed
*rtl.h (may_alias_p): New function prototype.
From-SVN: r163037
Diffstat (limited to 'gcc/cse.c')
-rw-r--r-- | gcc/cse.c | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -5015,7 +5015,7 @@ cse_insn (rtx insn) dest = canon_rtx (SET_DEST (sets[i].rtl)); if (!MEM_P (src) || !MEM_P (dest) - || !nonoverlapping_memrefs_p (src, dest)) + || !nonoverlapping_memrefs_p (src, dest, false)) break; } |