1 ; RUN: llc < %s -mtriple=arm64-apple-darwin | FileCheck %s
3 define void @test_shadow_optimization() {
5 ; Expect 8 bytes worth of nops here rather than 16: With the shadow optimization
6 ; in place, 8 bytes will be consumed by the frame teardown and return instr.
7 ; CHECK-LABEL: test_shadow_optimization:
11 tail call void (i64, i32, ...) @llvm.experimental.stackmap(i64 0, i32 16)
15 declare void @llvm.experimental.stackmap(i64, i32, ...)