1; RUN: llc -mtriple x86_64-unknown-windows-msvc -filetype asm -o - %s | FileCheck %s
2
3%swift.error = type opaque
4
5declare swiftcc void @f(%swift.error** swifterror)
6
7define swiftcc void @g(i8*, i8*, i8*, i8*, %swift.error** swifterror %error) {
8entry:
9  call swiftcc void @f(%swift.error** nonnull nocapture swifterror %error)
10  ret void
11}
12
13; CHECK-LABEL: g
14; CHECK-NOT: pushq   %r12
15; CHECK: callq   f
16; CHECK-NOT: popq    %r12
17; CHECK: retq
18
19