Skip to content

Cherry-pick: [AVR] Fix expanding MOVW for overlapping registers #141

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

Merged
merged 1 commit into from
Jun 26, 2022

Conversation

Patryk27
Copy link

Cherry-pick of llvm@5650688 (accepted & merged in https://reviews.llvm.org/D128588) that'll fix rust-lang/rust#98167.

When expanding a MOVW (16-bit copy) to two MOVs (8-bit copy), the
lower byte always comes first. This is incorrect for corner cases like
'$r24r23 -> $r25r24', in which the higher byte copy should come first.

Current patch fixes that bug as recorded at
rust-lang/rust#98167

Reviewed By: benshi001

Differential Revision: https://reviews.llvm.org/D128588
@nikic nikic merged commit c967687 into rust-lang:rustc/14.0-2022-06-20 Jun 26, 2022
@Patryk27 Patryk27 deleted the avr-fixes branch June 26, 2022 21:59
vext01 pushed a commit to vext01/llvm-project that referenced this pull request Apr 29, 2024
…code

Serialise llvm.experimental.stackmap as new opcode
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants