1 ; RUN: llvm-as < %s | llvm-dis | llvm-as | llvm-dis | grep {icmp slt} 2 ; rudimentary test of fcmp/icmp on vectors returning vector of bool 3 4 define <4 x i1> @ffoo(<4 x float> %a, <4 x float> %b) nounwind { 5 entry: 6 %cmp = fcmp olt <4 x float> %a, %b ; <4 x i1> [#uses=1] 7 ret <4 x i1> %cmp 8 } 9 10 define <4 x i1> @ifoo(<4 x i32> %a, <4 x i32> %b) nounwind { 11 entry: 12 %cmp = icmp slt <4 x i32> %a, %b ; <4 x i1> [#uses=1] 13 ret <4 x i1> %cmp 14 } 15 16