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