mirror of
https://github.com/c64scene-ar/llvm-6502.git
synced 2024-11-01 15:11:24 +00:00
45b5f88938
register allocation by allowing all 32 D-registers to be used. Patch by Cameron Zwarich. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@152824 91177308-0d34-0410-b5e6-96231b3b80d8
17 lines
411 B
LLVM
17 lines
411 B
LLVM
; RUN: llc < %s -mtriple=thumbv7-apple-ios -mcpu=cortex-a8 | FileCheck %s
|
|
; rdar://8728956
|
|
|
|
define hidden void @foo() nounwind ssp {
|
|
entry:
|
|
; CHECK: foo:
|
|
; CHECK: mov r7, sp
|
|
; CHECK-NEXT: vpush {d8}
|
|
; CHECK-NEXT: vpush {d10, d11}
|
|
tail call void asm sideeffect "","~{d8},~{d10},~{d11}"() nounwind
|
|
; CHECK: vpop {d10, d11}
|
|
; CHECK-NEXT: vpop {d8}
|
|
ret void
|
|
}
|
|
|
|
declare hidden float @bar() nounwind readnone ssp
|