1; RUN: llvm-as < %s | llvm-dis | llvm-as | llvm-dis | FileCheck %s
2; RUN: verify-uselistorder %s
3; Rudimentary test of select on vectors returning vector of bool
4
5; CHECK: @foo
6; CHECK: select <4 x i1> %cond, <4 x i32> %a, <4 x i32> %b
7define <4 x i32> @foo(<4 x i32> %a, <4 x i32> %b, <4 x i1> %cond) nounwind  {
8entry:
9  %cmp = select <4 x i1>  %cond, <4 x i32> %a, <4 x i32> %b
10  ret <4 x i32> %cmp
11}
12
13