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
This commit is contained in:
DJ Delorie 2001-08-03 12:31:44 -04:00 committed by DJ Delorie
parent cba5553ae6
commit 667ccf73eb
2 changed files with 7 additions and 8 deletions

View File

@ -1,3 +1,8 @@
2001-08-03 DJ Delorie <dj@redhat.com>
* ifcvt.c (noce_get_alt_condition): Don't make an auxiliary
set from a constant part of the condition.
2001-08-01 Andrew Cagney <ac131313@redhat.com>
* mkdeps.c (deps_add_default_target): Make local variable

View File

@ -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;
}
else if (rtx_equal_p (op_b, SET_DEST (PATTERN (prev_insn))))
{
op_b = src;
if_info->cond_earliest = prev_insn;
}
if (GET_CODE (op_a) == CONST_INT)
{