diff options
Diffstat (limited to 'llvm')
| -rw-r--r-- | llvm/test/CodeGen/AVR/features/avr-tiny.ll | 6 | ||||
| -rw-r--r-- | llvm/test/CodeGen/AVR/features/avr25.ll | 4 |
2 files changed, 5 insertions, 5 deletions
diff --git a/llvm/test/CodeGen/AVR/features/avr-tiny.ll b/llvm/test/CodeGen/AVR/features/avr-tiny.ll index 726196b9001..e497efa5909 100644 --- a/llvm/test/CodeGen/AVR/features/avr-tiny.ll +++ b/llvm/test/CodeGen/AVR/features/avr-tiny.ll @@ -1,9 +1,9 @@ ; RUN: llc -mattr=avrtiny -O0 < %s -march=avr | FileCheck %s -define i16 @reg_copy16(i16 %a) { +define i16 @reg_copy16(i16, i16 %a) { ; CHECK-LABEL: reg_copy16 -; CHECK: mov r18, r24 -; CHECK: mov r19, r25 +; CHECK: mov r24, r22 +; CHECK: mov r25, r23 ret i16 %a } diff --git a/llvm/test/CodeGen/AVR/features/avr25.ll b/llvm/test/CodeGen/AVR/features/avr25.ll index 2f61fb40545..f71eb24501c 100644 --- a/llvm/test/CodeGen/AVR/features/avr25.ll +++ b/llvm/test/CodeGen/AVR/features/avr25.ll @@ -1,8 +1,8 @@ ; RUN: llc -mattr=avr25 -O0 < %s -march=avr | FileCheck %s ; On most cores, the 16-bit 'MOVW' instruction can be used -define i16 @reg_copy16(i16 %a) { +define i16 @reg_copy16(i16, i16 %a) { ; CHECK-LABEL: reg_copy16 -; CHECK: movw r18, r24 +; CHECK: movw r24, r22 ret i16 %a } |

