1 # RUN: llc -O0 -run-pass=avr-expand-pseudo -mattr=+avrtiny %s -o - | FileCheck %s
3 # This test checks the expansion of the 8-bit ROLB (rotate) pseudo instruction
7 target triple = "avr--"
8 define void @test_rolbrd() {
20 ; CHECK-LABEL: test_rolbrd
21 ; CHECK: $r24 = ADDRdRr killed $r24, killed $r24, implicit-def $sreg
22 ; CHECK-NEXT: $r24 = ADCRdRr $r24, $r17, implicit-def dead $sreg, implicit killed $sreg
23 $r24 = ROLBRdR17 $r24, implicit-def $sreg, implicit $r17