1 # RUN: llc -O0 -run-pass=avr-expand-pseudo %s -o - | FileCheck %s
3 # This test checks the expansion of the 8-bit RORB (rotate) pseudo instruction.
6 target triple = "avr--"
7 define void @test_rorbrd() {
19 ; CHECK-LABEL: test_rorbrd
20 ; CHECK: BST $r14, 0, implicit-def $sreg
21 ; CHECK-NEXT: $r14 = RORRd $r14, implicit-def $sreg, implicit $sreg
22 ; CHECK-NEXT: $r14 = BLD $r14, 7, implicit $sreg
24 $r14 = RORBRd $r14, implicit-def $sreg