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

Fix wrong constant folding for bswap16 #67726

Closed
wants to merge 2 commits into from

Commits on Apr 7, 2022

  1. Fix wrong constant folding for bswap16

    The semantics of bswap16 is currently to swap the lower 2 bytes and
    leave the upper bytes alone. We need to keep the same behavior when
    constant folding or we can quickly end up discarding necessary casts.
    
    Fix dotnet#67723
    jakobbotsch committed Apr 7, 2022
    Configuration menu
    Copy the full SHA
    250b329 View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    e955a8c View commit details
    Browse the repository at this point in the history