xref: /llvm-project/llvm/test/CodeGen/AVR/features/avr25.ll (revision 9ef1d37ffb5f56a9b949a6307bbb16c2ea0130e3)
1; RUN: llc -mattr=avr25 -O0 < %s -mtriple=avr | FileCheck %s
2
3; On most cores, the 16-bit 'MOVW' instruction can be used
4define i16 @reg_copy16(i16, i16 %a) {
5; CHECK-LABEL: reg_copy16
6; CHECK: movw r24, r22
7  ret i16 %a
8}
9