]> Gitweb @ Texas Instruments - Open Source Git Repositories - git.TI.com/gitweb - opencl/llvm.git/blob - test/CodeGen/ARM/unord.ll
Updates to sync with changes in upstream.
[opencl/llvm.git] / test / CodeGen / ARM / unord.ll
1 ; RUN: llc -mtriple=arm-eabi %s -o - | FileCheck %s
3 define i32 @f1(float %X, float %Y) {
4         %tmp = fcmp uno float %X, %Y
5         %retval = select i1 %tmp, i32 1, i32 -1
6         ret i32 %retval
7 }
9 define i32 @f2(float %X, float %Y) {
10         %tmp = fcmp ord float %X, %Y
11         %retval = select i1 %tmp, i32 1, i32 -1
12         ret i32 %retval
13 }
15 ; CHECK: movne
16 ; CHECK-NOT: movne
18 ; CHECK: moveq
19 ; CHECK-NOT: moveq