blob: 81cecd4235fc930fde54d081a4241ed636e02880 [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 %t2 = fadd <4 x float> %t0, %t0 ; <<4 x float>> [#uses=1]
Tanya Lattner2ad38be2008-02-19 01:44:26 +00009 %t3 = select i1 false, <4 x float> %t0, <4 x float> %t2 ; <<4 x float>> [#uses=1]
10 store <4 x float> %t3, <4 x float>* @bar
11 ret void
Dan Gohman28beeea2007-08-15 13:36:28 +000012}
Tanya Lattner2ad38be2008-02-19 01:44:26 +000013