Run DCE after a LoopFlatten test to reduce spurious output [nfc]
[llvm-project.git] / llvm / test / CodeGen / AVR / pseudo / LSLWRd.mir
blobb1b9f1f249bd5c19d17be21fc3767c479803ed2a
1 # RUN: llc -O0 -run-pass=avr-expand-pseudo %s -o - | FileCheck %s
3 --- |
4   target triple = "avr--"
5   define void @test() {
6   entry:
7     ret void
8   }
9 ...
11 ---
12 name:            test
13 body: |
14   bb.0.entry:
15     liveins: $r15r14
17     ; CHECK-LABEL: test
19     ; CHECK:      $r14 = ADDRdRr $r14, $r14, implicit-def $sreg
20     ; CHECK-NEXT: $r15 = ADCRdRr $r15, $r15, implicit-def $sreg, implicit killed $sreg
22     $r15r14 = LSLWRd $r15r14, implicit-def $sreg
23 ...