diff options
author | DJ Delorie <dj@redhat.com> | 2001-08-03 12:31:44 -0400 |
---|---|---|
committer | DJ Delorie <dj@gcc.gnu.org> | 2001-08-03 12:31:44 -0400 |
commit | 667ccf73ebde1d2340f3e1ff41e4471724bb7126 (patch) | |
tree | 8754d44c0812699e679e5232d8a56a17db7162b2 /gcc/ifcvt.c | |
parent | cba5553ae65cfd7184aed73effa9b1a106083c4e (diff) | |
download | gcc-667ccf73ebde1d2340f3e1ff41e4471724bb7126.zip gcc-667ccf73ebde1d2340f3e1ff41e4471724bb7126.tar.gz gcc-667ccf73ebde1d2340f3e1ff41e4471724bb7126.tar.bz2 |
ifcvt.c (noce_get_alt_condition): Don't make an auxiliary set from a constant part of the condition.
* ifcvt.c (noce_get_alt_condition): Don't make an auxiliary
set from a constant part of the condition.
From-SVN: r44602
Diffstat (limited to 'gcc/ifcvt.c')
-rw-r--r-- | gcc/ifcvt.c | 10 |
1 files changed, 2 insertions, 8 deletions
diff --git a/gcc/ifcvt.c b/gcc/ifcvt.c index 4de879d..6d7e085 100644 --- a/gcc/ifcvt.c +++ b/gcc/ifcvt.c @@ -1183,15 +1183,9 @@ noce_get_alt_condition (if_info, target, earliest) if (GET_CODE (src) == CONST_INT) { if (rtx_equal_p (op_a, SET_DEST (PATTERN (prev_insn)))) - { - op_a = src; - if_info->cond_earliest = prev_insn; - } + op_a = src; else if (rtx_equal_p (op_b, SET_DEST (PATTERN (prev_insn)))) - { - op_b = src; - if_info->cond_earliest = prev_insn; - } + op_b = src; if (GET_CODE (op_a) == CONST_INT) { |