mirror of
https://github.com/RPCS3/llvm.git
synced 2025-02-08 11:37:03 +00:00
![Matthias Braun](/assets/img/avatar_default.png)
llc mir output goes to stdout nowadays, so the 2>&1 is not necessary anymore for most tests. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@295859 91177308-0d34-0410-b5e6-96231b3b80d8
25 lines
431 B
YAML
25 lines
431 B
YAML
# RUN: llc -O0 -run-pass=avr-expand-pseudo %s -o - | FileCheck %s
|
|
|
|
# This test checks the expansion of the 16-bit STSWRdK pseudo instruction.
|
|
|
|
--- |
|
|
target triple = "avr--"
|
|
define void @test_stswkrr() {
|
|
entry:
|
|
ret void
|
|
}
|
|
...
|
|
|
|
---
|
|
name: test_stswkrr
|
|
body: |
|
|
bb.0.entry:
|
|
|
|
; CHECK-LABEL: test_stswkrr
|
|
|
|
; CHECK: STSKRr 2560, %r31
|
|
; CHECK-NEXT: STSKRr 2559, %r30
|
|
|
|
STSWKRr 2559, %r31r30
|
|
...
|