31 lines · plain
1# RUN: llc -O0 -run-pass=avr-expand-pseudo %s -o - | FileCheck %s2# RUN: llc -O0 -run-pass=avr-expand-pseudo -mcpu=atxmega64a1 %s -o - \3# RUN: | FileCheck --check-prefix=XMEGA %s4 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 void12 }13...14 15---16name: test_stswkrr17body: |18 bb.0.entry:19 liveins: $r31r3020 21 ; CHECK-LABEL: test_stswkrr22 ; CHECK: STSKRr 2560, $r3123 ; CHECK-NEXT: STSKRr 2559, $r3024 25 ; XMEGA-LABEL: test_stswkrr26 ; XMEGA: STSKRr 2559, $r3027 ; XMEGA-NEXT: STSKRr 2560, $r3128 29 STSWKRr 2559, $r31r3030...31