llvm.org GIT mirror llvm / a813b38 test / CodeGen / AArch64 / no-stack-arg-probe.ll
a813b38

Tree @a813b38 (Download .tar.gz)

no-stack-arg-probe.ll @a813b38raw · history · blame

; RUN: llc -mtriple=aarch64-windows -verify-machineinstrs %s -o - \
; RUN:  | FileCheck %s

define void @check_watermark() "no-stack-arg-probe" {
entry:
  %buffer = alloca [4096 x i8], align 1
  ret void
}

; CHECK: check_watermark:
; CHECK: sub sp, sp, #1, lsl #12
; CHECK-NOT: bl __chkstk