Run DCE after a LoopFlatten test to reduce spurious output [nfc]
[llvm-project.git] / llvm / test / CodeGen / AVR / pseudo / ROLBRdR17.mir
blob2a26d18c65240072efcf934ac1d33431c3c17f0d
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
4 # on AVRTiny.
6 --- |
7   target triple = "avr--"
8   define void @test_rolbrd() {
9   entry:
10     ret void
11   }
12 ...
14 ---
15 name:            test_rolbrd
16 body: |
17   bb.0.entry:
18     liveins: $r24
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
24 ...