1
0
mirror of https://github.com/RPCS3/llvm-mirror.git synced 2024-11-24 11:42:57 +01:00
llvm-mirror/test/CodeGen/ARM/fpcmp_ueq.ll

11 lines
260 B
LLVM
Raw Normal View History

; 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
}