1 ; RUN: llc -o - -verify-machineinstrs -mtriple=aarch64-apple-darwin -stop-after machine-sink %s | FileCheck %s --check-prefix=ISEL
2 ; RUN: llc -o - -verify-machineinstrs -mtriple=aarch64-apple-darwin -fast-isel -fast-isel-abort=1 -stop-after machine-sink %s | FileCheck %s --check-prefix=FAST-ISEL
4 define void @caller_meta_leaf() {
6 %metadata = alloca i64, i32 3, align 8
7 store i64 11, ptr %metadata
8 store i64 12, ptr %metadata
9 store i64 13, ptr %metadata
10 ; ISEL: ADJCALLSTACKDOWN 0, 0, implicit-def
12 ; ISEL-NEXT: ADJCALLSTACKUP 0, 0, implicit-def
13 call void (i64, i32, ...) @llvm.experimental.stackmap(i64 4, i32 0, ptr %metadata)
14 ; FAST-ISEL: ADJCALLSTACKDOWN 0, 0, implicit-def
15 ; FAST-ISEL-NEXT: STACKMAP
16 ; FAST-ISEL-NEXT: ADJCALLSTACKUP 0, 0, implicit-def
20 declare void @llvm.experimental.stackmap(i64, i32, ...)