From 2ad38be2cf53467d39c34456795360f122b37629 Mon Sep 17 00:00:00 2001 From: Tanya Lattner Date: Tue, 19 Feb 2008 01:44:26 +0000 Subject: Remove llvm-upgrade and update tests. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@47297 91177308-0d34-0410-b5e6-96231b3b80d8 --- test/Other/2004-08-16-PackedGlobalConstant.ll | 18 ++++++++---------- 1 file changed, 8 insertions(+), 10 deletions(-) (limited to 'test/Other/2004-08-16-PackedGlobalConstant.ll') 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> ; -%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 } + -- cgit v1.2.3