Sign in
swiftshader
/
SwiftShader
/
ab3abfa3aefcf682e6a7aa0ba1944a4f5e9b8162
/
.
/
third_party
/
llvm-7.0
/
llvm
/
test
/
CodeGen
/
X86
/
dyn_alloca_aligned.ll
blob: 993f4d2af75dfdedd98385c760137502fffd275a [
file
] [
log
] [
blame
]
; RUN: llc -mtriple=x86_64-linux < %s | FileCheck %s
define
i32
@A
(
i32
%Size
)
{
; CHECK: subq %rcx, %rax
; CHECK: andq $-128, %rax
; CHECK: movq %rax, %rsp
%A
=
alloca
i8
,
i32
%Size
,
align
128
%A_addr
=
ptrtoint
i8
*
%A
to
i32
ret
i32
%A_addr
}