Home | History | Annotate | Download | only in Assembler
      1 ; RUN: llvm-as < %s | llvm-dis | llvm-as | llvm-dis | grep select
      2 ; rudimentary test of select on vectors returning vector of bool
      3 
      4 define <4 x i32> @foo(<4 x i32> %a, <4 x i32> %b,
      5     <4 x i1> %cond) nounwind  {
      6 entry:
      7   %cmp = select <4 x i1>  %cond, <4 x i32> %a, <4 x i32> %b 
      8                              ; <4 x i32> [#uses=1]
      9   ret <4 x i32> %cmp
     10 }
     11 
     12