summaryrefslogtreecommitdiff
path: root/gcc/cselib.c
diff options
context:
space:
mode:
authoramylaar <amylaar@138bc75d-0d04-0410-961f-82ee72b054a4>2013-06-20 12:43:29 +0000
committeramylaar <amylaar@138bc75d-0d04-0410-961f-82ee72b054a4>2013-06-20 12:43:29 +0000
commitcb456db5e67962aa3d43f5268a70ebee0d49e0d7 (patch)
tree9061645d80e98b754d68939deb5f6aaf1b2dbf33 /gcc/cselib.c
parentab4542ebddf28e6b1a332ecd22fd6f84249cf4e9 (diff)
downloadgcc-cb456db5e67962aa3d43f5268a70ebee0d49e0d7.tar.gz
PR rtl-optimization/57425
PR rtl-optimization/57569 * alias.c (write_dependence_p): Remove parameters mem_mode and canon_mem_addr. Add parameters x_mode, x_addr and x_canonicalized. Changed all callers. (canon_anti_dependence): Get comments and semantics in sync. Add parameter mem_canonicalized. Changed all callers. * rtl.h (canon_anti_dependence): Update prototype. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@200241 138bc75d-0d04-0410-961f-82ee72b054a4
Diffstat (limited to 'gcc/cselib.c')
-rw-r--r--gcc/cselib.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/gcc/cselib.c b/gcc/cselib.c
index 2c73535c12b..c3431af1246 100644
--- a/gcc/cselib.c
+++ b/gcc/cselib.c
@@ -2263,8 +2263,8 @@ cselib_invalidate_mem (rtx mem_rtx)
continue;
}
if (num_mems < PARAM_VALUE (PARAM_MAX_CSELIB_MEMORY_LOCATIONS)
- && ! canon_anti_dependence (mem_rtx, GET_MODE (mem_rtx),
- mem_addr, x))
+ && ! canon_anti_dependence (x, false, mem_rtx,
+ GET_MODE (mem_rtx), mem_addr))
{
has_mem = true;
num_mems++;