Merging r258690:
[oota-llvm.git] / test / Other / 2004-08-16-PackedSelect.ll
1 ; RUN: llvm-as < %s | llvm-dis
2
3 @foo = external global <4 x float>              ; <<4 x float>*> [#uses=1]
4 @bar = external global <4 x float>              ; <<4 x float>*> [#uses=1]
5
6 define void @main() {
7         %t0 = load <4 x float>, <4 x float>* @foo            ; <<4 x float>> [#uses=3]
8         %t1 = fadd <4 x float> %t0, %t0          ; <<4 x float>> [#uses=1]
9         %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
12 }
13