X-Git-Url: http://demsky.eecs.uci.edu/git/?a=blobdiff_plain;f=test%2FOther%2F2004-08-16-PackedGlobalConstant.ll;h=9130ccba17368c0c188d92751314794a9a946ece;hb=1a203571ca94c4770a8cada8ace7fbeb0e65799a;hp=01b0d5dd4050b6d9b5ffb18117254879290802af;hpb=69ccadd7535a83b348595cf603126e6a68b2883b;p=oota-llvm.git diff --git a/test/Other/2004-08-16-PackedGlobalConstant.ll b/test/Other/2004-08-16-PackedGlobalConstant.ll index 01b0d5dd405..9130ccba173 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: +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 +} -void %main() -{ - %t0 = load <2 x int>* %foo; - store <2 x int> %t0, <2 x int>* %bar - ret void -} \ No newline at end of file