1 ; RUN: llc < %s | FileCheck %s
3 target datalayout = "e-m:x-p:32:32-i64:64-f80:32-n8:16:32-a:0:32-S32"
4 target triple = "i386-pc-windows-msvc18.0.0"
6 declare x86_thiscallcc void @bar(i32 %a, i32 %b)
8 define fastcc void @foo(i32 %a, i32 %b) #0 {
10 ; CHECK: subl $64, %esp
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}"()
19 attributes #0 = { nounwind optsize "no-frame-pointer-elim-non-leaf"}