1# RUN: llc -O0 -run-pass=avr-expand-pseudo %s -o - | FileCheck %s 2# RUN: llc -O0 -run-pass=avr-expand-pseudo -mcpu=atxmega64a1 %s -o - \ 3# RUN: | FileCheck --check-prefix=XMEGA %s 4 5# This test checks the expansion of the 16-bit STSWRdK pseudo instruction. 6 7--- | 8 target triple = "avr--" 9 define void @test_stswkrr() { 10 entry: 11 ret void 12 } 13... 14 15--- 16name: test_stswkrr 17body: | 18 bb.0.entry: 19 liveins: $r31r30 20 21 ; CHECK-LABEL: test_stswkrr 22 ; CHECK: STSKRr 2560, $r31 23 ; CHECK-NEXT: STSKRr 2559, $r30 24 25 ; XMEGA-LABEL: test_stswkrr 26 ; XMEGA: STSKRr 2559, $r30 27 ; XMEGA-NEXT: STSKRr 2560, $r31 28 29 STSWKRr 2559, $r31r30 30... 31