brintos

brintos / llvm-project-archived public Read only

0
0
Text · 362 B · 23cfbd2 Raw
17 lines · plain
1; RUN: llc -mtriple i686-windows-itanium -filetype asm -o - %s | FileCheck %s2 3target datalayout = "e-m:w-p:32:32-i64:64-f80:32-n8:16:32-S32"4target triple = "i686--windows-itanium"5 6declare void @external(ptr)7 8define dllexport void @alloca(i32 %sz) {9entry:10  %vla = alloca i8, i32 %sz, align 111  call void @external(ptr %vla)12  ret void13}14 15; CHECK: __chkstk16 17