[MIParser] Set RegClassOrRegBank during instruction parsing
[llvm-complete.git] / test / CodeGen / AVR / pseudo / STSWKRr.mir
blob9302f15800ae474cc14c57f7f52fc3e428584f44
1 # RUN: llc -O0 -run-pass=avr-expand-pseudo %s -o - | FileCheck %s
3 # This test checks the expansion of the 16-bit STSWRdK pseudo instruction.
5 --- |
6   target triple = "avr--"
7   define void @test_stswkrr() {
8   entry:
9     ret void
10   }
11 ...
13 ---
14 name:            test_stswkrr
15 body: |
16   bb.0.entry:
18     ; CHECK-LABEL: test_stswkrr
20     ; CHECK:      STSKRr 2560, $r31
21     ; CHECK-NEXT: STSKRr 2559, $r30
23     STSWKRr 2559, $r31r30
24 ...