1; RUN: llc < %s | FileCheck %s
2
3target datalayout = "e-m:x-p:32:32-i64:64-f80:32-n8:16:32-a:0:32-S32"
4target triple = "i386-pc-windows-msvc18.0.0"
5
6declare x86_thiscallcc void @bar(i32 %a, i32 %b)
7
8define fastcc void @foo(i32 %a, i32 %b) #0 {
9; CHECK-LABEL: foo:
10; CHECK: subl $64, %esp
11; CHECK-NEXT: pushl
12; CHECK-NEXT: calll _bar
13  %local = alloca i32, i32 16
14  call x86_thiscallcc void @bar(i32 %a, i32 %b)
15  call void asm sideeffect "nop", "~{ax},~{bx},~{cx},~{dx},~{bp},~{si},~{di}"()
16  ret void
17}
18
19attributes #0 = { nounwind optsize "no-frame-pointer-elim-non-leaf"}