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

Stop generating allocas & memcmp for simple short array equality #85828

Merged
merged 9 commits into from
Jul 9, 2021

Commits on Jul 8, 2021

  1. Configuration menu
    Copy the full SHA
    d05eafa View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    2456495 View commit details
    Browse the repository at this point in the history
  3. PR feedback

    - Add `:Sized` assertion in interpreter impl
    - Use `Scalar::from_bool` instead of `ScalarInt: From<bool>`
    - Remove unneeded comparison in intrinsic typeck
    - Make this UB to call with undef, not just return undef in that case
    scottmcm committed Jul 8, 2021
    Configuration menu
    Copy the full SHA
    b63b2f1 View commit details
    Browse the repository at this point in the history
  4. Configuration menu
    Copy the full SHA
    1216353 View commit details
    Browse the repository at this point in the history
  5. Add another codegen test, array_eq_zero

    Showing that this avoids an alloca and private constant.
    scottmcm committed Jul 8, 2021
    Configuration menu
    Copy the full SHA
    039a3ba View commit details
    Browse the repository at this point in the history
  6. Configuration menu
    Copy the full SHA
    3d2869c View commit details
    Browse the repository at this point in the history
  7. Configuration menu
    Copy the full SHA
    6444f24 View commit details
    Browse the repository at this point in the history
  8. Configuration menu
    Copy the full SHA
    07fb5ee View commit details
    Browse the repository at this point in the history
  9. Bless a UI test

    scottmcm committed Jul 8, 2021
    Configuration menu
    Copy the full SHA
    d064494 View commit details
    Browse the repository at this point in the history