On 02/21/2017 12:15 PM, Jakub Jelinek wrote:
On Tue, Feb 21, 2017 at 02:48:15PM +0000, Segher Boessenkool wrote:
-  /* Shift by zero -- copy regs if necessary.  */
+  /* Shift by zero -- copy regs.  */
    if ((GET_CODE (operands[2]) == CONST_INT) && (INTVAL (operands[2]) == 0))

You could have changed this line to
   if (operands[2] == const0_rtx)
as well.

And this would not change the generated code.

--
Michael Eager    ea...@eagercon.com
1960 Park Blvd., Palo Alto, CA 94306  650-325-8077

Reply via email to