mirror of
https://github.com/RPCSX/llvm.git
synced 2025-02-14 01:40:53 +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
32 lines
808 B
YAML
32 lines
808 B
YAML
# RUN: llc -O0 -run-pass=avr-relax-mem %s -o - | FileCheck %s
|
|
|
|
--- |
|
|
target triple = "avr--"
|
|
define void @test() {
|
|
entry:
|
|
ret void
|
|
}
|
|
...
|
|
|
|
---
|
|
name: test
|
|
body: |
|
|
bb.0.entry:
|
|
|
|
; CHECK-LABEL: test
|
|
|
|
; We shouldn't expand things which already have 6-bit imms.
|
|
; CHECK: STDWPtrQRr %r29r28, 63, %r1r0
|
|
STDWPtrQRr %r29r28, 63, %r1r0
|
|
|
|
; We shouldn't expand things which already have 6-bit imms.
|
|
; CHECK-NEXT: STDWPtrQRr %r29r28, 0, %r1r0
|
|
STDWPtrQRr %r29r28, 0, %r1r0
|
|
|
|
; CHECK-NEXT: PUSHWRr %r29r28, implicit-def %sp, implicit %sp
|
|
; CHECK-NEXT: %r29r28 = SBCIWRdK %r29r28, -64, implicit-def %sreg, implicit %sreg
|
|
; CHECK-NEXT: STWPtrRr %r29r28, %r1r0
|
|
; CHECK-NEXT: POPWRd %r29r28, implicit-def %sp, implicit %sp
|
|
STDWPtrQRr %r29r28, 64, %r1r0
|
|
...
|