aboutsummaryrefslogtreecommitdiff
path: root/gcc/varasm.c
diff options
context:
space:
mode:
authorJeff Law <law@redhat.com>2011-09-27 10:49:17 -0600
committerJeff Law <law@gcc.gnu.org>2011-09-27 10:49:17 -0600
commit16a275d29d4273bf6a0530b2f6d721a745c921cc (patch)
tree6381eca87c4993fc200ec70c432192fd905c402e /gcc/varasm.c
parent9b7ab6d6e016c89bf22322a95772786a14739465 (diff)
downloadgcc-16a275d29d4273bf6a0530b2f6d721a745c921cc.zip
gcc-16a275d29d4273bf6a0530b2f6d721a745c921cc.tar.gz
gcc-16a275d29d4273bf6a0530b2f6d721a745c921cc.tar.bz2
ifcvt.c (cheap_bb_rtx_cost_p): Add SCALE argument.
* ifcvt.c (cheap_bb_rtx_cost_p): Add SCALE argument. Scale non-jumping insns by REG_BR_PROB_BASE and the maximum cost by SCALE. (find_if_case_1): Use the probability of the THEN clause when determining if speculation is profitable. (find_if_case_2): Similarly for the ELSE clause. From-SVN: r179284
Diffstat (limited to 'gcc/varasm.c')
0 files changed, 0 insertions, 0 deletions