You've already forked linux-packaging-mono
Imported Upstream version 5.18.0.167
Former-commit-id: 289509151e0fee68a1b591a20c9f109c3c789d3a
This commit is contained in:
parent
e19d552987
commit
b084638f15
24
external/llvm/test/CodeGen/ARM/alloca-align.ll
vendored
24
external/llvm/test/CodeGen/ARM/alloca-align.ll
vendored
@ -1,24 +0,0 @@
|
||||
; RUN: llc -o - %s | FileCheck %s
|
||||
target triple="arm--"
|
||||
|
||||
@glob = external global i32*
|
||||
|
||||
declare void @bar(i32*, [20000 x i8]* byval)
|
||||
|
||||
; CHECK-LABEL: foo:
|
||||
; We should see the stack getting additional alignment
|
||||
; CHECK: sub sp, sp, #16
|
||||
; CHECK: bic sp, sp, #31
|
||||
; And a base pointer getting used.
|
||||
; CHECK: mov r6, sp
|
||||
; Which is passed to the call
|
||||
; CHECK: add [[REG:r[0-9]+|lr]], r6, #19456
|
||||
; CHECK: add r0, [[REG]], #536
|
||||
; CHECK: bl bar
|
||||
define void @foo([20000 x i8]* %addr) {
|
||||
%tmp = alloca [4 x i32], align 32
|
||||
%tmp0 = getelementptr [4 x i32], [4 x i32]* %tmp, i32 0, i32 0
|
||||
call void @bar(i32* %tmp0, [20000 x i8]* byval %addr)
|
||||
ret void
|
||||
}
|
||||
|
Reference in New Issue
Block a user