aboutsummaryrefslogtreecommitdiff
path: root/gcc/config/epiphany/epiphany.c
diff options
context:
space:
mode:
Diffstat (limited to 'gcc/config/epiphany/epiphany.c')
-rw-r--r--gcc/config/epiphany/epiphany.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/gcc/config/epiphany/epiphany.c b/gcc/config/epiphany/epiphany.c
index 8901c4a..c074813 100644
--- a/gcc/config/epiphany/epiphany.c
+++ b/gcc/config/epiphany/epiphany.c
@@ -1926,10 +1926,10 @@ epiphany_adjust_cost (rtx insn, rtx link, rtx dep_insn, int cost)
rtx set = single_set (insn);
if (set
- && !reg_mentioned_p (SET_DEST (dep_set), SET_SRC (set))
+ && !reg_overlap_mentioned_p (SET_DEST (dep_set), SET_SRC (set))
&& (!MEM_P (SET_DEST (set))
- || !reg_mentioned_p (SET_DEST (dep_set),
- XEXP (SET_DEST (set), 0))))
+ || !reg_overlap_mentioned_p (SET_DEST (dep_set),
+ XEXP (SET_DEST (set), 0))))
cost = 1;
}
}