blob: c1d6214dc63d48ce923f0318902d7c3d3501e44c [file] [log] [blame]
Tanya Lattner2ad38be2008-02-19 01:44:26 +00001; RUN: llvm-as < %s | llvm-dis
Reid Spencer442729a2004-08-20 06:06:43 +00002
Tanya Lattner2ad38be2008-02-19 01:44:26 +00003@foo = external global <4 x float> ; <<4 x float>*> [#uses=1]
4@bar = external global <4 x float> ; <<4 x float>*> [#uses=1]
Reid Spencer442729a2004-08-20 06:06:43 +00005
Tanya Lattner2ad38be2008-02-19 01:44:26 +00006define void @main() {
7 %t0 = load <4 x float>* @foo ; <<4 x float>> [#uses=3]
Dan Gohmanae3a0be2009-06-04 22:49:04 +00008 %t1 = fadd <4 x float> %t0, %t0 ; <<4 x float>> [#uses=1]
Tanya Lattner2ad38be2008-02-19 01:44:26 +00009 %t2 = select i1 true, <4 x float> %t0, <4 x float> %t1 ; <<4 x float>> [#uses=1]
10 store <4 x float> %t2, <4 x float>* @bar
11 ret void
Dan Gohman28beeea2007-08-15 13:36:28 +000012}
Tanya Lattner2ad38be2008-02-19 01:44:26 +000013