2007-04-17 01:36:08 +08:00
|
|
|
; RUN: llvm-as < %s | llc -march=arm | grep moveq
|
2007-01-19 17:20:23 +08:00
|
|
|
; RUN: llvm-as < %s | llc -march=arm -mattr=+vfp2 | grep movvs
|
2007-01-01 02:52:39 +08:00
|
|
|
|
2007-01-26 16:25:06 +08:00
|
|
|
define i32 @f7(float %a, float %b) {
|
2007-01-01 02:52:39 +08:00
|
|
|
entry:
|
|
|
|
%tmp = fcmp ueq float %a,%b
|
2007-01-13 13:06:52 +08:00
|
|
|
%retval = select i1 %tmp, i32 666, i32 42
|
2007-01-01 02:52:39 +08:00
|
|
|
ret i32 %retval
|
|
|
|
}
|
|
|
|
|