Commit 2391bfea by Richard Kenner

(expand_expr, case MINUS_EXPR): Remove bogus operand swap.

From-SVN: r8829
parent 82f0e2cc
...@@ -5214,10 +5214,6 @@ expand_expr (exp, target, tmode, modifier) ...@@ -5214,10 +5214,6 @@ expand_expr (exp, target, tmode, modifier)
rtx op1 = expand_expr (TREE_OPERAND (exp, 1), NULL_RTX, rtx op1 = expand_expr (TREE_OPERAND (exp, 1), NULL_RTX,
VOIDmode, modifier); VOIDmode, modifier);
/* If one operand is a CONST_INT, put it last. */
if (GET_CODE (op0) == CONST_INT)
temp = op0, op0 = op1, op1 = temp;
/* If the last operand is a CONST_INT, use plus_constant of /* If the last operand is a CONST_INT, use plus_constant of
the negated constant. Else make the MINUS. */ the negated constant. Else make the MINUS. */
if (GET_CODE (op1) == CONST_INT) if (GET_CODE (op1) == CONST_INT)
......
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