1 # RUN: llc -O0 -run-pass=avr-expand-pseudo %s -o - | FileCheck %s
4 target triple = "avr--"
15 liveins: $r17r16, $r19r18, $r21r20
19 ; CHECK: $r17 = SWAPRd killed $r17
20 ; CHECK-NEXT: $r16 = SWAPRd killed $r16
21 ; CHECK-NEXT: $r17 = ANDIRdK killed $r17, 240, implicit-def dead $sreg
22 ; CHECK-NEXT: $r17 = EORRdRr killed $r17, $r16, implicit-def dead $sreg
23 ; CHECK-NEXT: $r16 = ANDIRdK $r16, 240, implicit-def dead $sreg
24 ; CHECK-NEXT: $r17 = EORRdRr $r17, $r16, implicit-def $sreg
25 $r17r16 = LSLWNRd $r17r16, 4, implicit-def $sreg
27 ; CHECK-NEXT: $r19 = MOVRdRr $r18
28 ; CHECK-NEXT: $r18 = EORRdRr $r18, $r18, implicit-def $sreg
29 $r19r18 = LSLWNRd $r19r18, 8, implicit-def $sreg
31 ; CHECK-NEXT: $r21 = MOVRdRr $r20
32 ; CHECK-NEXT: $r21 = SWAPRd killed $r21
33 ; CHECK-NEXT: $r21 = ANDIRdK $r21, 240, implicit-def dead $sreg
34 ; CHECK-NEXT: $r20 = EORRdRr $r20, $r20, implicit-def $sreg
35 $r21r20 = LSLWNRd $r21r20, 12, implicit-def $sreg