llvm.org GIT mirror llvm / release_20 test / CodeGen / ARM / fpcmp_ueq.ll
release_20

Tree @release_20 (Download .tar.gz)

fpcmp_ueq.ll @release_20raw · history · blame

1
2
3
4
5
6
7
8
9
; RUN: llvm-as < %s | llc -march=arm | grep moveq 
; RUN: llvm-as < %s | llc -march=arm -mattr=+vfp2 | grep movvs

define i32 @f7(float %a, float %b) {
entry:
    %tmp = fcmp ueq float %a,%b
    %retval = select i1 %tmp, i32 666, i32 42
    ret i32 %retval
}