Mercurial > hg > CbC > CbC_llvm
annotate test/CodeGen/X86/windows-itanium-alloca.ll @ 83:60c9769439b8 LLVM3.7
LLVM 3.7
author | Tatsuki IHA <e125716@ie.u-ryukyu.ac.jp> |
---|---|
date | Wed, 18 Feb 2015 14:55:36 +0900 |
parents | |
children |
rev | line source |
---|---|
83 | 1 ; RUN: llc -mtriple i686-windows-itanium -filetype asm -o - %s | FileCheck %s |
2 | |
3 target datalayout = "e-m:w-p:32:32-i64:64-f80:32-n8:16:32-S32" | |
4 target triple = "i686--windows-itanium" | |
5 | |
6 declare void @external(i8*) | |
7 | |
8 define dllexport void @alloca(i32 %sz) { | |
9 entry: | |
10 %vla = alloca i8, i32 %sz, align 1 | |
11 call void @external(i8* %vla) | |
12 ret void | |
13 } | |
14 | |
15 ; CHECK: __chkstk | |
16 |