Commit a34958c9 by Richard Kenner

(expand_shift): No longer reference lshl_optab.

From-SVN: r7022
parent 5f54da49
...@@ -1722,14 +1722,9 @@ expand_shift (code, mode, shifted, amount, target, unsignedp) ...@@ -1722,14 +1722,9 @@ expand_shift (code, mode, shifted, amount, target, unsignedp)
target, unsignedp, methods); target, unsignedp, methods);
} }
else if (unsignedp) else if (unsignedp)
{ temp = expand_binop (mode,
temp = expand_binop (mode, left ? ashl_optab : lshr_optab,
left ? lshl_optab : lshr_optab, shifted, op1, target, unsignedp, methods);
shifted, op1, target, unsignedp, methods);
if (temp == 0 && left)
temp = expand_binop (mode, ashl_optab,
shifted, op1, target, unsignedp, methods);
}
/* Do arithmetic shifts. /* Do arithmetic shifts.
Also, if we are going to widen the operand, we can just as well Also, if we are going to widen the operand, we can just as well
......
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