]> git.ipfire.org Git - thirdparty/gcc.git/commitdiff
Eliminate unneeded test.
authoreager <eager@138bc75d-0d04-0410-961f-82ee72b054a4>
Fri, 10 Mar 2017 00:48:51 +0000 (00:48 +0000)
committereager <eager@138bc75d-0d04-0410-961f-82ee72b054a4>
Fri, 10 Mar 2017 00:48:51 +0000 (00:48 +0000)
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@246020 138bc75d-0d04-0410-961f-82ee72b054a4

gcc/config/microblaze/microblaze.c

index fb115e69e766d4cd0267a0820bcd444eebc4488b..d0f86fd46071bfb58786a90453ec838d4aca740c 100644 (file)
@@ -3323,7 +3323,7 @@ microblaze_expand_shift (rtx operands[])
              || (GET_CODE (operands[1]) == SUBREG));
 
   /* 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]))
     {
       emit_insn (gen_movsi (operands[0], operands[1]));