xref: /llvm-project/llvm/test/CodeGen/AArch64/wincfi-seh-only-in-epilogue.ll (revision 8942d3047c684af800da7c75566210725f1cfe84)
1; RUN: llc -mtriple=aarch64-windows %s -o - | FileCheck %s
2
3define hidden swifttailcc void @test(ptr noalias nocapture %0, ptr swiftasync %1, ptr %2, ptr noalias nocapture %3, ptr nocapture dereferenceable(8) %4, ptr %5, ptr %6, ptr %Act, ptr %Err, ptr %Res, ptr %Act.DistributedActor, ptr %Err.Error, ptr %Res.Decodable, ptr %Res.Encodable, ptr swiftself %7) #0 {
4entry:
5  ret void
6}
7
8; Check that there is no .seh_endprologue but there is seh_startepilogue/seh_endepilogue.
9; CHECK-NOT: .seh_endprologue
10; CHECK:     .seh_startepilogue
11; CHECK:     add sp, sp, #48
12; CHECK:     .seh_stackalloc 48
13; CHECK:     .seh_endepilogue
14