(expand_shift): No longer reference lshl_optab.
authorRichard Kenner <kenner@gcc.gnu.org>
Sun, 10 Apr 1994 12:04:35 +0000 (08:04 -0400)
committerRichard Kenner <kenner@gcc.gnu.org>
Sun, 10 Apr 1994 12:04:35 +0000 (08:04 -0400)
From-SVN: r7022

gcc/expmed.c

index 1d5d75eddac7b45fbcea06f7293fc5b586f64fee..b714c251f627c5fd73a53e066ab49548f98cbe9e 100644 (file)
@@ -1722,14 +1722,9 @@ expand_shift (code, mode, shifted, amount, target, unsignedp)
                                 target, unsignedp, methods);
        }
       else if (unsignedp)
-       {
-         temp = expand_binop (mode,
-                              left ? lshl_optab : lshr_optab,
-                              shifted, op1, target, unsignedp, methods);
-         if (temp == 0 && left)
-           temp = expand_binop (mode, ashl_optab,
-                                shifted, op1, target, unsignedp, methods);
-       }
+       temp = expand_binop (mode,
+                            left ? ashl_optab : lshr_optab,
+                            shifted, op1, target, unsignedp, methods);
 
       /* Do arithmetic shifts.
         Also, if we are going to widen the operand, we can just as well