Xamarin Public Jenkins (auto-signing) 64ac736ec5 Imported Upstream version 6.0.0.172
Former-commit-id: f3cc9b82f3e5bd8f0fd3ebc098f789556b44e9cd
2019-04-12 14:10:50 +00:00

17 lines
350 B
LLVM

; RUN: llc -mtriple=thumbv7-windows-itanium -mcpu=cortex-a9 -o - %s | FileCheck %s
; AAPCS mandates an 8-byte stack alignment. The alloca is implicitly aligned,
; and no bic is required.
declare void @callee(i8 *%i)
define void @caller() {
%i = alloca i8, align 8
call void @callee(i8* %i)
ret void
}
; CHECK: sub sp, #8
; CHECK-NOT: bic