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