]> Gitweb @ Texas Instruments - Open Source Git Repositories - git.TI.com/gitweb - opencl/llvm.git/blob - test/CodeGen/ARM/fpcmp_ueq.ll
Updates to sync with changes in upstream.
[opencl/llvm.git] / test / CodeGen / ARM / fpcmp_ueq.ll
1 ; RUN: llc < %s -mtriple=arm-apple-darwin | grep moveq 
2 ; RUN: llc < %s -mtriple=armv7-apple-darwin -mcpu=cortex-a8 | FileCheck %s
4 define i32 @f7(float %a, float %b) {
5 entry:
6 ; CHECK-LABEL: f7:
7 ; CHECK: vcmpe.f32
8 ; CHECK: vmrs APSR_nzcv, fpscr
9 ; CHECK: movweq
10 ; CHECK-NOT: vmrs
11 ; CHECK: movwvs
12     %tmp = fcmp ueq float %a,%b
13     %retval = select i1 %tmp, i32 666, i32 42
14     ret i32 %retval
15 }