X-Git-Url: http://demsky.eecs.uci.edu/git/?a=blobdiff_plain;f=test%2FOther%2F2004-08-16-PackedSimple.ll;h=5bb8b7930009e8434a37041885cc1505aa09a639;hb=55e283c71eaa0428b63c901d726c0666f985ce85;hp=f50cd210a5dffaf8c60f39887a53a9ea57ec23e3;hpb=28beeeac4db2d582d4947db96d62e423e4b68d88;p=oota-llvm.git diff --git a/test/Other/2004-08-16-PackedSimple.ll b/test/Other/2004-08-16-PackedSimple.ll index f50cd210a5d..5bb8b793000 100644 --- a/test/Other/2004-08-16-PackedSimple.ll +++ b/test/Other/2004-08-16-PackedSimple.ll @@ -1,15 +1,13 @@ -; RUN: llvm-upgrade < %s | llvm-as | llvm-dis +; RUN: llvm-as < %s | llvm-dis -%foo = uninitialized global <4 x float>; -%bar = uninitialized global <4 x float>; +@foo = external global <4 x float> ; <<4 x float>*> [#uses=1] +@bar = external global <4 x float> ; <<4 x float>*> [#uses=1] -implementation ; Functions: - -void %main() -{ - %t0 = load <4 x float>* %foo - %t2 = add <4 x float> %t0, %t0 - %t3 = select bool false, <4 x float> %t0, <4 x float> %t2 - store <4 x float> %t3, <4 x float>* %bar - ret void +define void @main() { + %t0 = load <4 x float>* @foo ; <<4 x float>> [#uses=3] + %t2 = add <4 x float> %t0, %t0 ; <<4 x float>> [#uses=1] + %t3 = select i1 false, <4 x float> %t0, <4 x float> %t2 ; <<4 x float>> [#uses=1] + store <4 x float> %t3, <4 x float>* @bar + ret void } +