X-Git-Url: http://demsky.eecs.uci.edu/git/?a=blobdiff_plain;f=test%2FOther%2F2004-08-16-PackedSimple.ll;h=81cecd4235fc930fde54d081a4241ed636e02880;hb=2f46f1f59c17040f7a2c970342f2f1dcc9b78319;hp=10cee3823ab93a76850c25ae44b0f921673d4c21;hpb=442729a6716fc55ebe11b60d73a1869babcddaf7;p=oota-llvm.git diff --git a/test/Other/2004-08-16-PackedSimple.ll b/test/Other/2004-08-16-PackedSimple.ll index 10cee3823ab..81cecd4235f 100644 --- a/test/Other/2004-08-16-PackedSimple.ll +++ b/test/Other/2004-08-16-PackedSimple.ll @@ -1,15 +1,13 @@ ; 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: +define void @main() { + %t0 = load <4 x float>* @foo ; <<4 x float>> [#uses=3] + %t2 = fadd <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 +} -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 -} \ No newline at end of file