source: icGREP/icgrep-devel/llvm-3.8.0.src/test/CodeGen/ARM/alloca.ll @ 5027

Last change on this file since 5027 was 5027, checked in by cameron, 3 years ago

Upgrade to llvm 3.8

File size: 339 bytes
Line 
1; RUN: llc < %s -march=arm -mtriple=arm-linux-gnu | FileCheck %s
2
3define void @f(i32 %a) {
4entry:
5; CHECK: add  r11, sp, #4
6        %tmp = alloca i8, i32 %a                ; <i8*> [#uses=1]
7        call void @g( i8* %tmp, i32 %a, i32 1, i32 2, i32 3 )
8        ret void
9; CHECK: sub  sp, r11, #4
10}
11
12declare void @g(i8*, i32, i32, i32, i32)
Note: See TracBrowser for help on using the repository browser.