diff options
author | amylaar <amylaar@138bc75d-0d04-0410-961f-82ee72b054a4> | 2012-11-29 02:43:19 +0000 |
---|---|---|
committer | amylaar <amylaar@138bc75d-0d04-0410-961f-82ee72b054a4> | 2012-11-29 02:43:19 +0000 |
commit | 77fb810bd271b82235fd2e02263f83f625417e66 (patch) | |
tree | cf6b18e91d2bd2a075c6ade782536c4bad93d1e2 /gcc/config/epiphany | |
parent | 720cd6a6be0db92c068869e0bc5828252ae415ed (diff) | |
download | gcc-77fb810bd271b82235fd2e02263f83f625417e66.tar.gz |
* config/epiphany/epiphany.c (epiphany_adjust_cost): Use
reg_overlap_mentioned_p.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@193920 138bc75d-0d04-0410-961f-82ee72b054a4
Diffstat (limited to 'gcc/config/epiphany')
-rw-r--r-- | gcc/config/epiphany/epiphany.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/gcc/config/epiphany/epiphany.c b/gcc/config/epiphany/epiphany.c index 8901c4acc8c..c0748131032 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; } } |