Convert tests using "| wc -l | grep ..." to use the count script.
[oota-llvm.git] / test / CodeGen / ARM / unord.ll
1 ; RUN: llvm-as < %s | llc -march=arm | grep movne | count 1
2 ; RUN: llvm-as < %s | llc -march=arm | grep moveq | count 1
3 ; RUN: llvm-as < %s | llc -march=thumb | grep bne | count 1
4 ; RUN: llvm-as < %s | llc -march=thumb | grep beq | count 1
5
6 define i32 @f1(float %X, float %Y) {
7         %tmp = fcmp uno float %X, %Y
8         %retval = select i1 %tmp, i32 1, i32 -1
9         ret i32 %retval
10 }
11
12 define i32 @f2(float %X, float %Y) {
13         %tmp = fcmp ord float %X, %Y
14         %retval = select i1 %tmp, i32 1, i32 -1
15         ret i32 %retval
16 }