Commit 24ee7cae by Richard Henderson Committed by Richard Henderson

* predict.c (expected_value_to_br_prob): Use pc_set.

From-SVN: r45738
parent ee1315aa
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
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment