diff options
author | bernds <bernds@138bc75d-0d04-0410-961f-82ee72b054a4> | 2016-11-24 12:17:52 +0000 |
---|---|---|
committer | bernds <bernds@138bc75d-0d04-0410-961f-82ee72b054a4> | 2016-11-24 12:17:52 +0000 |
commit | 0ee3060f96bfcaedff56e94cf6de003e52f93851 (patch) | |
tree | 0dc91940b519ec0142dbc2811d4138171bed6390 /gcc/rtlanal.c | |
parent | f4c13483275dccedc35c5b1f2262d5bdb7d08a04 (diff) | |
download | gcc-0ee3060f96bfcaedff56e94cf6de003e52f93851.tar.gz |
PR rtl-optimization/78120
* rtlanal.c (insn_rtx_cost): Use set_rtx_cost.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@242833 138bc75d-0d04-0410-961f-82ee72b054a4
Diffstat (limited to 'gcc/rtlanal.c')
-rw-r--r-- | gcc/rtlanal.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/gcc/rtlanal.c b/gcc/rtlanal.c index 17dbb1eaeb1..7521a4ece2d 100644 --- a/gcc/rtlanal.c +++ b/gcc/rtlanal.c @@ -5237,7 +5237,7 @@ insn_rtx_cost (rtx pat, bool speed) else return 0; - cost = set_src_cost (SET_SRC (set), GET_MODE (SET_DEST (set)), speed); + cost = set_rtx_cost (set, speed); return cost > 0 ? cost : COSTS_N_INSNS (1); } |