mirror of
https://github.com/c64scene-ar/llvm-6502.git
synced 2024-11-11 08:07:22 +00:00
965b891762
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@136623 91177308-0d34-0410-b5e6-96231b3b80d8
18 lines
428 B
LLVM
18 lines
428 B
LLVM
; RUN: llc < %s -march=xcore | FileCheck %s
|
|
define void @_Z1fz(...) {
|
|
entry:
|
|
; CHECK: _Z1fz:
|
|
; CHECK: extsp 3
|
|
; CHECK: stw r[[REG:[0-3]{1,1}]]
|
|
; CHECK: , sp{{\[}}[[REG]]{{\]}}
|
|
; CHECK: stw r[[REG:[0-3]{1,1}]]
|
|
; CHECK: , sp{{\[}}[[REG]]{{\]}}
|
|
; CHECK: stw r[[REG:[0-3]{1,1}]]
|
|
; CHECK: , sp{{\[}}[[REG]]{{\]}}
|
|
; CHECK: stw r[[REG:[0-3]{1,1}]]
|
|
; CHECK: , sp{{\[}}[[REG]]{{\]}}
|
|
; CHECK: ldaw sp, sp[3]
|
|
; CHECK: retsp 0
|
|
ret void
|
|
}
|