diff options
author | meibf <meibf@138bc75d-0d04-0410-961f-82ee72b054a4> | 2010-08-09 14:44:03 +0000 |
---|---|---|
committer | meibf <meibf@138bc75d-0d04-0410-961f-82ee72b054a4> | 2010-08-09 14:44:03 +0000 |
commit | a84256aaf1a2f9bd1f4b29935232a52b11a068b6 (patch) | |
tree | e1019cb9c50fe10a946e21114e247d48c6ccc78a /gcc/cse.c | |
parent | 43f0f599fa1a8068f992e360c96194a12a3390ca (diff) | |
download | gcc-a84256aaf1a2f9bd1f4b29935232a52b11a068b6.tar.gz |
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.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@163037 138bc75d-0d04-0410-961f-82ee72b054a4
Diffstat (limited to 'gcc/cse.c')
-rw-r--r-- | gcc/cse.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/gcc/cse.c b/gcc/cse.c index ae513eb2a16..dcba6bc3bb3 100644 --- a/gcc/cse.c +++ b/gcc/cse.c @@ -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; } |