source: icGREP/icgrep-devel/llvm-3.8.0.src/test/CodeGen/ARM/argaddr.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: 739 bytes
Line 
1; RUN: llc -mtriple=arm-eabi %s -o /dev/null
2
3define void @f(i32 %a, i32 %b, i32 %c, i32 %d, i32 %e) {
4entry:
5        %a_addr = alloca i32            ; <i32*> [#uses=2]
6        %b_addr = alloca i32            ; <i32*> [#uses=2]
7        %c_addr = alloca i32            ; <i32*> [#uses=2]
8        %d_addr = alloca i32            ; <i32*> [#uses=2]
9        %e_addr = alloca i32            ; <i32*> [#uses=2]
10        store i32 %a, i32* %a_addr
11        store i32 %b, i32* %b_addr
12        store i32 %c, i32* %c_addr
13        store i32 %d, i32* %d_addr
14        store i32 %e, i32* %e_addr
15        call void @g( i32* %a_addr, i32* %b_addr, i32* %c_addr, i32* %d_addr, i32* %e_addr )
16        ret void
17}
18
19declare void @g(i32*, i32*, i32*, i32*, i32*)
Note: See TracBrowser for help on using the repository browser.