1 ; RUN: llc < %s -march=avr | FileCheck %s
10 define i16 @ret_i16() {
12 ; CHECK-NEXT: ldi r25, 4
16 ; CHECK-LABEL: ret_i32
17 define i32 @ret_i32() {
19 ; CHECK-NEXT: ldi r23, 97
20 ; CHECK-NEXT: ldi r24, 188
21 ; CHECK-NEXT: ldi r25, 0
25 ; CHECK-LABEL: ret_i64
26 define i64 @ret_i64() {
28 ; CHECK-NEXT: ldi r19, 255
29 ; CHECK-NEXT: mov r20, r18
30 ; CHECK-NEXT: mov r21, r19
31 ; CHECK-NEXT: mov r22, r18
32 ; CHECK-NEXT: mov r23, r19
33 ; CHECK-NEXT: mov r24, r18
34 ; CHECK-NEXT: mov r25, r19
35 ret i64 18374966859414961920