blob: 5bbf20caa5f19f6d0459eee955b1cef977843d71 [file] [log] [blame]
Reid Spencer69ccadd2006-12-02 04:23:10 +00001; RUN: llvm-upgrade < %s | llvm-as | llvm-dis
Reid Spencer442729a2004-08-20 06:06:43 +00002
3%foo = uninitialized global <4 x float>;
4%bar = uninitialized global <4 x float>;
5
6implementation ; Functions:
7
8void %main()
9{
10 %t0 = load <4 x float>* %foo
11 %t1 = add <4 x float> %t0, %t0
12 %t2 = select bool true, <4 x float> %t0, <4 x float> %t1
13 store <4 x float> %t2, <4 x float>* %bar
14 ret void
15}