1 ; RUN: llc < %s -mtriple=s390x-linux-gnu | FileCheck %s
3 ; When a function does a dynamic stack allocation, the function's stack size
4 ; is reported as UINT64_MAX.
6 ; CHECK: .section .llvm_stackmaps
7 ; CHECK-NEXT: __LLVM_StackMaps:
11 ; CHECK-NEXT: .short 0
19 ; Functions and stack size
21 ; CHECK-NEXT: .quad -1
23 define void @f(i32 %nelems) {
25 %mem = alloca i32, i32 %nelems
26 call void (i64, i32, ...) @llvm.experimental.stackmap(i64 0, i32 0, ptr %mem)
30 declare void @llvm.experimental.stackmap(i64, i32, ...)