Commit bb821298 by Richard Kenner

(simplify_if_then_else): Allow for case that condition might no longer

be a condition.

From-SVN: r11555
parent 8a12c32d
......@@ -4034,6 +4034,10 @@ simplify_if_then_else (x)
SUBST (XEXP (x, 2), true);
temp = true, true = false, false = temp, cond = XEXP (x, 0);
/* It is possible that the conditional has been simplified out. */
true_code = GET_CODE (cond);
comparison_p = GET_RTX_CLASS (true_code) == '<';
}
/* If the two arms are identical, we don't need the comparison. */
......
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