ifcvt.c (noce_get_alt_condition): Don't make an auxiliary set from a constant part...
authorDJ Delorie <dj@redhat.com>
Fri, 3 Aug 2001 16:31:44 +0000 (12:31 -0400)
committerDJ Delorie <dj@gcc.gnu.org>
Fri, 3 Aug 2001 16:31:44 +0000 (12:31 -0400)
* ifcvt.c (noce_get_alt_condition): Don't make an auxiliary
set from a constant part of the condition.

From-SVN: r44602

gcc/ChangeLog
gcc/ifcvt.c

index ddaca0d7fdcd9a5e14a96fb51c91caadd7671810..3ffebfdf33381152f632164a587d5a0bd882e834 100644 (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
index 4de879d7d82648f4fa45ed1eed21d7d785c37b92..6d7e085bbeca3b03dc09cdd9f6e4a7dea2d0f3e1 100644 (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;
-               }
+               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)
                {