1*9880d681SAndroid Build Coastguard Worker; RUN: llc -mtriple i686-windows-itanium -filetype asm -o - %s | FileCheck %s 2*9880d681SAndroid Build Coastguard Worker 3*9880d681SAndroid Build Coastguard Workertarget datalayout = "e-m:w-p:32:32-i64:64-f80:32-n8:16:32-S32" 4*9880d681SAndroid Build Coastguard Workertarget triple = "i686--windows-itanium" 5*9880d681SAndroid Build Coastguard Worker 6*9880d681SAndroid Build Coastguard Workerdeclare void @external(i8*) 7*9880d681SAndroid Build Coastguard Worker 8*9880d681SAndroid Build Coastguard Workerdefine dllexport void @alloca(i32 %sz) { 9*9880d681SAndroid Build Coastguard Workerentry: 10*9880d681SAndroid Build Coastguard Worker %vla = alloca i8, i32 %sz, align 1 11*9880d681SAndroid Build Coastguard Worker call void @external(i8* %vla) 12*9880d681SAndroid Build Coastguard Worker ret void 13*9880d681SAndroid Build Coastguard Worker} 14*9880d681SAndroid Build Coastguard Worker 15*9880d681SAndroid Build Coastguard Worker; CHECK: __chkstk 16*9880d681SAndroid Build Coastguard Worker 17