• Home
  • Line#
  • Scopes#
  • Navigate#
  • Raw
  • Download
1; RUN: llc -mtriple x86_64-- -filetype asm -o - %s | FileCheck %s
2; RUN: llc -mtriple x86_64-unknown-windows-msvc -filetype asm -o - %s | FileCheck %s --check-prefix=MSVC
3
4define swiftcc void @f() {
5  %1 = alloca i8
6  ret void
7}
8
9; MSVC-LABEL: f
10; MSVC: .seh_stackalloc 8
11; MSVC: .seh_endprologue
12
13declare swiftcc i64 @myFunc()
14define swiftcc i64 @myFunc2()  nounwind {
15  %r = tail call swiftcc i64 @myFunc()
16  ret i64 %r
17}
18
19; CHECK-LABEL: myFunc2
20; CHECK: jmp myFunc
21; CHECK-NOT: call
22