summaryrefslogtreecommitdiff
path: root/test/CodeGen/ARM/alloca.ll
diff options
context:
space:
mode:
authorTanya Lattner <tonic@nondot.org>2008-02-17 20:02:20 +0000
committerTanya Lattner <tonic@nondot.org>2008-02-17 20:02:20 +0000
commit6263f94674cd0974b9a4cc525cbe70db65fc9939 (patch)
tree0a2fe45a96ee63e58e105f65957fc5b9ffe9dc0b /test/CodeGen/ARM/alloca.ll
parent456012c72e8596e36596ab3798b1d271477955ef (diff)
downloadllvm-6263f94674cd0974b9a4cc525cbe70db65fc9939.tar.gz
llvm-6263f94674cd0974b9a4cc525cbe70db65fc9939.tar.bz2
llvm-6263f94674cd0974b9a4cc525cbe70db65fc9939.tar.xz
Remove llvm-upgrade.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@47238 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'test/CodeGen/ARM/alloca.ll')
-rw-r--r--test/CodeGen/ARM/alloca.ll14
1 files changed, 7 insertions, 7 deletions
diff --git a/test/CodeGen/ARM/alloca.ll b/test/CodeGen/ARM/alloca.ll
index b98a674ce2..f7e450f593 100644
--- a/test/CodeGen/ARM/alloca.ll
+++ b/test/CodeGen/ARM/alloca.ll
@@ -1,13 +1,13 @@
-; RUN: llvm-upgrade < %s | llvm-as | llc -march=arm -mtriple=arm-linux-gnu | \
+; RUN: llvm-as < %s | llc -march=arm -mtriple=arm-linux-gnu | \
; RUN: grep {mov r11, sp}
-; RUN: llvm-upgrade < %s | llvm-as | llc -march=arm -mtriple=arm-linux-gnu | \
+; RUN: llvm-as < %s | llc -march=arm -mtriple=arm-linux-gnu | \
; RUN: grep {mov sp, r11}
-void %f(uint %a) {
+define void @f(i32 %a) {
entry:
- %tmp = alloca sbyte, uint %a
- call void %g( sbyte* %tmp, uint %a, uint 1, uint 2, uint 3 )
- ret void
+ %tmp = alloca i8, i32 %a ; <i8*> [#uses=1]
+ call void @g( i8* %tmp, i32 %a, i32 1, i32 2, i32 3 )
+ ret void
}
-declare void %g(sbyte*, uint, uint, uint, uint)
+declare void @g(i8*, i32, i32, i32, i32)