Commit 21a64bf1 by Richard Kenner

(simplify_shift_const, case AND): When remaking binary operation, do

it in SHIFT_MODE.

From-SVN: r6552
parent 314fc5a9
......@@ -7961,7 +7961,7 @@ simplify_shift_const (x, code, result_mode, varop, count)
rtx rhs = simplify_shift_const (NULL_RTX, code, shift_mode,
XEXP (varop, 1), count);
varop = gen_binary (GET_CODE (varop), GET_MODE (varop), lhs, rhs);
varop = gen_binary (GET_CODE (varop), shift_mode, lhs, rhs);
varop = apply_distributive_law (varop);
count = 0;
......
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