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