Commit e8375544 by Michael Eager

Eliminate unneeded test.

From-SVN: r246020
parent b908f125
...@@ -3323,7 +3323,7 @@ microblaze_expand_shift (rtx operands[]) ...@@ -3323,7 +3323,7 @@ microblaze_expand_shift (rtx operands[])
|| (GET_CODE (operands[1]) == SUBREG)); || (GET_CODE (operands[1]) == SUBREG));
/* Shift by zero -- copy regs if necessary. */ /* Shift by zero -- copy regs if necessary. */
if (CONST_INT_P (operands[2]) && (operands[2] == const0_rtx) if (operands[2] == const0_rtx
&& !rtx_equal_p (operands[0], operands[1])) && !rtx_equal_p (operands[0], operands[1]))
{ {
emit_insn (gen_movsi (operands[0], operands[1])); emit_insn (gen_movsi (operands[0], operands[1]));
......
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