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