Move the test for the data in code into the ARM directory as it is an ARM
[oota-llvm.git] / test / Assembler / vbool-cmp.ll
1 ; RUN: llvm-as < %s | llvm-dis | llvm-as | llvm-dis | FileCheck %s
2 ; Rudimentary test of fcmp/icmp on vectors returning vector of bool
3
4 ; CHECK: @ffoo
5 ; CHECK: fcmp olt <4 x float> %a, %b
6 define <4 x i1> @ffoo(<4 x float> %a, <4 x float> %b) nounwind {
7 entry:
8   %cmp = fcmp olt <4 x float> %a, %b            ; <4 x i1> [#uses=1]
9   ret <4 x i1> %cmp
10 }
11
12 ; CHECK: @ifoo
13 ; CHECK: icmp slt <4 x i32> %a, %b
14 define <4 x i1> @ifoo(<4 x i32> %a, <4 x i32> %b) nounwind {
15 entry:
16   %cmp = icmp slt <4 x i32> %a, %b              ; <4 x i1> [#uses=1]
17   ret <4 x i1> %cmp
18 }