mirror of
https://github.com/RPCS3/llvm-mirror.git
synced 2024-11-25 12:12:47 +01:00
23c462a8b5
This allows targets to make more decisions about reserved registers after isel. For example, now it should be certain there are calls or stack objects in the frame or not, which could have been introduced by legalization. Patch by Matthias Braun llvm-svn: 363757
14 lines
501 B
LLVM
14 lines
501 B
LLVM
; RUN: llc -mtriple thumbv7-windows-itanium -filetype asm -o /dev/null %s -print-after=finalize-isel 2>&1 | FileCheck %s
|
|
|
|
declare arm_aapcs_vfpcc void @g(i8*) local_unnamed_addr
|
|
|
|
define arm_aapcs_vfpcc void @f(i32 %i) local_unnamed_addr {
|
|
entry:
|
|
%vla = alloca i8, i32 %i, align 1
|
|
call arm_aapcs_vfpcc void @g(i8* nonnull %vla)
|
|
ret void
|
|
}
|
|
|
|
; CHECK: tBL 14, $noreg, &__chkstk, implicit-def $lr, implicit $sp, implicit killed $r4, implicit-def $r4, implicit-def dead $r12, implicit-def dead $cpsr
|
|
|