summaryrefslogtreecommitdiff
path: root/gcc/cfgloopanal.c
diff options
context:
space:
mode:
authorrsandifo <rsandifo@138bc75d-0d04-0410-961f-82ee72b054a4>2011-08-18 12:36:51 +0000
committerrsandifo <rsandifo@138bc75d-0d04-0410-961f-82ee72b054a4>2011-08-18 12:36:51 +0000
commitb72d459f396af780bd6506f992b421663c4bb676 (patch)
tree3787f76119cc3035cbfc30cc522d9e6e59efca62 /gcc/cfgloopanal.c
parent1bc4fc63366accfa3926cb5f068fe07356d84ab7 (diff)
downloadgcc-b72d459f396af780bd6506f992b421663c4bb676.tar.gz
gcc/
* rtl.h (set_rtx_cost, get_full_set_rtx_cost): New functions. * auto-inc-dec.c (attempt_change): Use set_rtx_cost. * cfgloopanal.c (seq_cost): Likewise. * loop-invariant.c (create_new_invariant): Likewise. * postreload.c (move2add_use_add2_insn, move2add_use_add3_insn) (reload_cse_move2add): Use get_full_set_rtx_cost. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@177850 138bc75d-0d04-0410-961f-82ee72b054a4
Diffstat (limited to 'gcc/cfgloopanal.c')
-rw-r--r--gcc/cfgloopanal.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/gcc/cfgloopanal.c b/gcc/cfgloopanal.c
index 02f02657699..652fc4d8b62 100644
--- a/gcc/cfgloopanal.c
+++ b/gcc/cfgloopanal.c
@@ -314,7 +314,7 @@ seq_cost (const_rtx seq, bool speed)
{
set = single_set (seq);
if (set)
- cost += rtx_cost (set, SET, speed);
+ cost += set_rtx_cost (set, speed);
else
cost++;
}