* predict.c (expected_value_to_br_prob): Use pc_set.
From-SVN: r45738
This commit is contained in:
parent
ee1315aa92
commit
24ee7caee0
@ -1,5 +1,7 @@
|
||||
2001-09-21 Richard Henderson <rth@redhat.com>
|
||||
|
||||
* predict.c (expected_value_to_br_prob): Use pc_set.
|
||||
|
||||
* optabs.c (init_one_libfunc): Gen a FUNCTION_DECL for use by
|
||||
ENCODE_SECTION_INFO; get SYMBOL_REF from make_decl_rtl.
|
||||
|
||||
|
@ -573,7 +573,7 @@ expected_value_to_br_prob ()
|
||||
as canonicalize_condition will render this to us as
|
||||
(lt r70, r71)
|
||||
Could use cselib to try and reduce this further. */
|
||||
cond = XEXP (SET_SRC (PATTERN (insn)), 0);
|
||||
cond = XEXP (SET_SRC (pc_set (insn)), 0);
|
||||
cond = canonicalize_condition (insn, cond, 0, NULL, ev_reg);
|
||||
if (! cond
|
||||
|| XEXP (cond, 0) != ev_reg
|
||||
|
Loading…
x
Reference in New Issue
Block a user