llvm-for-llvmta/test/CodeGen/ARM/Windows/chkstk-no-stack-arg-probe.ll

13 lines
303 B
LLVM
Raw Normal View History

2022-04-25 10:02:23 +02:00
; RUN: llc -mtriple=thumbv7-windows -verify-machineinstrs %s -o - \
; RUN: | FileCheck %s
define arm_aapcs_vfpcc void @check_watermark() "no-stack-arg-probe" {
entry:
%buffer = alloca [4096 x i8], align 1
ret void
}
; CHECK: check_watermark:
; CHECK-NOT: bl __chkstk
; CHECK: sub.w sp, sp, #4096