Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

<<, >>, >>>: use intrinsics for more mixed-type shift operations. #11629

Merged
merged 1 commit into from
Jun 9, 2015

Commits on Jun 9, 2015

  1. <<, >>, >>>: use intrinsics for more mixed-type shift operations.

    LLVM isn't able to eliminate the additional checks done by fallbacks
    for the mixed-type bitshift operations, so this change just calls
    the intrinsics directly, which minimizes the amount of work done.
    The fallback now avoids conversion checking as well and just returns
    zero if the second argument is too large to fit in an Int.
    StefanKarpinski committed Jun 9, 2015
    Configuration menu
    Copy the full SHA
    c6882a9 View commit details
    Browse the repository at this point in the history