summaryrefslogtreecommitdiff
path: root/test/Other/2004-08-16-PackedGlobalConstant.ll
diff options
context:
space:
mode:
authorTanya Lattner <tonic@nondot.org>2008-02-19 01:44:26 +0000
committerTanya Lattner <tonic@nondot.org>2008-02-19 01:44:26 +0000
commit2ad38be2cf53467d39c34456795360f122b37629 (patch)
tree9f05cf5bb415393b3e46765552ff6a7caff4c367 /test/Other/2004-08-16-PackedGlobalConstant.ll
parent53a66d10f01ebfeac7b8e59ca677f2cf2d4a3b26 (diff)
downloadllvm-2ad38be2cf53467d39c34456795360f122b37629.tar.gz
llvm-2ad38be2cf53467d39c34456795360f122b37629.tar.bz2
llvm-2ad38be2cf53467d39c34456795360f122b37629.tar.xz
Remove llvm-upgrade and update tests.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@47297 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'test/Other/2004-08-16-PackedGlobalConstant.ll')
-rw-r--r--test/Other/2004-08-16-PackedGlobalConstant.ll18
1 files changed, 8 insertions, 10 deletions
diff --git a/test/Other/2004-08-16-PackedGlobalConstant.ll b/test/Other/2004-08-16-PackedGlobalConstant.ll
index 638e862cc6..9130ccba17 100644
--- a/test/Other/2004-08-16-PackedGlobalConstant.ll
+++ b/test/Other/2004-08-16-PackedGlobalConstant.ll
@@ -1,13 +1,11 @@
-; RUN: llvm-upgrade < %s | llvm-as | llvm-dis
+; RUN: llvm-as < %s | llvm-dis
-%foo = global <2 x int> <int 0, int 1>;
-%bar = uninitialized global <2 x int>;
+@foo = global <2 x i32> < i32 0, i32 1 > ; <<2 x i32>*> [#uses=1]
+@bar = external global <2 x i32> ; <<2 x i32>*> [#uses=1]
-implementation ; Functions:
-
-void %main()
-{
- %t0 = load <2 x int>* %foo;
- store <2 x int> %t0, <2 x int>* %bar
- ret void
+define void @main() {
+ %t0 = load <2 x i32>* @foo ; <<2 x i32>> [#uses=1]
+ store <2 x i32> %t0, <2 x i32>* @bar
+ ret void
}
+