Sign in
llvm
/
llvm-project
/
0e85232fa39dbe54b13b40320460dd4f945b29fd
/
.
/
llvm
/
test
/
CodeGen
/
AVR
/
features
/
avr25.ll
blob: f71eb24501c3151ac909d6e63eaa8294d49d0975 [
file
] [
log
] [
blame
]
; 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
,
i16
%a
)
{
; CHECK-LABEL: reg_copy16
; CHECK: movw r24, r22
ret
i16
%a
}