summaryrefslogtreecommitdiff
path: root/gcc/predict.c
diff options
context:
space:
mode:
authorrth <rth@138bc75d-0d04-0410-961f-82ee72b054a4>2001-09-21 20:43:54 +0000
committerrth <rth@138bc75d-0d04-0410-961f-82ee72b054a4>2001-09-21 20:43:54 +0000
commit673de8ae3b1add51f20fe1b0cfb0f8627cad58a0 (patch)
tree54d5dacf86650da64464def3e0211c09bcf7f3c1 /gcc/predict.c
parent87a0fb80d5c1d0b3979ef49c60c6a2f991d43e75 (diff)
downloadgcc-673de8ae3b1add51f20fe1b0cfb0f8627cad58a0.tar.gz
* predict.c (expected_value_to_br_prob): Use pc_set.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@45738 138bc75d-0d04-0410-961f-82ee72b054a4
Diffstat (limited to 'gcc/predict.c')
-rw-r--r--gcc/predict.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/gcc/predict.c b/gcc/predict.c
index df69e943a50..42d7795a01e 100644
--- a/gcc/predict.c
+++ b/gcc/predict.c
@@ -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