aboutsummaryrefslogtreecommitdiff
path: root/clang/unittests/Interpreter/InterpreterTest.cpp
diff options
context:
space:
mode:
authorPatryk Wychowaniec <pwychowaniec@pm.me>2022-06-26 17:20:04 +0800
committerBen Shi <ben.shi@streamcomputing.com>2022-06-26 17:20:07 +0800
commit5650688e7242b31b1447189176493aa12c99f355 (patch)
tree88e63d0abe543b14edf50d7e9f03f458b32e48fc /clang/unittests/Interpreter/InterpreterTest.cpp
parentb95cca03cd7b751e977fee808b7e84ffffec116d (diff)
downloadllvm-5650688e7242b31b1447189176493aa12c99f355.zip
llvm-5650688e7242b31b1447189176493aa12c99f355.tar.gz
llvm-5650688e7242b31b1447189176493aa12c99f355.tar.bz2
[AVR] Fix expanding MOVW for overlapping registers
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 https://github.com/rust-lang/rust/issues/98167 Reviewed By: benshi001 Differential Revision: https://reviews.llvm.org/D128588
Diffstat (limited to 'clang/unittests/Interpreter/InterpreterTest.cpp')
0 files changed, 0 insertions, 0 deletions