X-Git-Url: http://demsky.eecs.uci.edu/git/?a=blobdiff_plain;f=test%2FOther%2F2004-08-16-PackedGlobalConstant.ll;h=9130ccba17368c0c188d92751314794a9a946ece;hb=db81071b34eb4f5a9a27b4b5f8d32cc9f989db96;hp=9a8c21c5962d1658296d593e147baad5b47e06c2;hpb=442729a6716fc55ebe11b60d73a1869babcddaf7;p=oota-llvm.git diff --git a/test/Other/2004-08-16-PackedGlobalConstant.ll b/test/Other/2004-08-16-PackedGlobalConstant.ll index 9a8c21c5962..9130ccba173 100644 --- a/test/Other/2004-08-16-PackedGlobalConstant.ll +++ b/test/Other/2004-08-16-PackedGlobalConstant.ll @@ -1,13 +1,11 @@ ; 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