summaryrefslogtreecommitdiffstats
path: root/llvm/test/CodeGen/Generic/2002-04-16-StackFrameSizeAlignment.ll
diff options
context:
space:
mode:
authorTanya Lattner <tonic@nondot.org>2008-02-19 01:41:04 +0000
committerTanya Lattner <tonic@nondot.org>2008-02-19 01:41:04 +0000
commit3f04773f7884c1c7b8b89dddfb177b1f41f54c56 (patch)
tree8c66730e481d8ce70c0a8e082bfdbadc0badcc4b /llvm/test/CodeGen/Generic/2002-04-16-StackFrameSizeAlignment.ll
parent22011e90c992533411d2efc17f5efd365a636117 (diff)
downloadbcm5719-llvm-3f04773f7884c1c7b8b89dddfb177b1f41f54c56.tar.gz
bcm5719-llvm-3f04773f7884c1c7b8b89dddfb177b1f41f54c56.zip
Remove llvm-upgrade and update tests.
llvm-svn: 47296
Diffstat (limited to 'llvm/test/CodeGen/Generic/2002-04-16-StackFrameSizeAlignment.ll')
-rw-r--r--llvm/test/CodeGen/Generic/2002-04-16-StackFrameSizeAlignment.ll22
1 files changed, 9 insertions, 13 deletions
diff --git a/llvm/test/CodeGen/Generic/2002-04-16-StackFrameSizeAlignment.ll b/llvm/test/CodeGen/Generic/2002-04-16-StackFrameSizeAlignment.ll
index d7e138abd92..d77b9e15596 100644
--- a/llvm/test/CodeGen/Generic/2002-04-16-StackFrameSizeAlignment.ll
+++ b/llvm/test/CodeGen/Generic/2002-04-16-StackFrameSizeAlignment.ll
@@ -1,18 +1,14 @@
-; RUN: llvm-upgrade < %s | llvm-as | llc
+; RUN: llvm-as < %s | llc
; Compiling this file produces:
; Sparc.cpp:91: failed assertion `(offset - OFFSET) % getStackFrameSizeAlignment() == 0'
;
-implementation
-
-declare int "SIM"(sbyte* %A, sbyte* %B, int %M, int %N, int %K, [256 x int]* %V, int %Q, int %R, int %nseq)
-
-void "foo"()
-begin
-bb0: ;[#uses=0]
- %V = alloca [256 x int], uint 256 ; <[256 x int]*> [#uses=1]
- call int %SIM( sbyte* null, sbyte* null, int 0, int 0, int 0, [256 x int]* %V, int 0, int 0, int 2 ) ; <int>:0 [#uses=0]
- ret void
-end
-
+declare i32 @SIM(i8*, i8*, i32, i32, i32, [256 x i32]*, i32, i32, i32)
+
+define void @foo() {
+bb0:
+ %V = alloca [256 x i32], i32 256 ; <[256 x i32]*> [#uses=1]
+ call i32 @SIM( i8* null, i8* null, i32 0, i32 0, i32 0, [256 x i32]* %V, i32 0, i32 0, i32 2 ) ; <i32>:0 [#uses=0]
+ ret void
+}
OpenPOWER on IntegriCloud