-; RUN: llvm-as < %s | llc -march=arm &&
-; RUN: llvm-as < %s | llc -march=arm | grep moveq &&
-; RUN: llvm-as < %s | llc -march=arm | grep movvs
+; RUN: llc < %s -march=arm | grep moveq
+; RUN: llc < %s -march=arm -mattr=+vfp2 | grep movvs
-define i32 %f7(float %a, float %b) {
+define i32 @f7(float %a, float %b) {
entry:
%tmp = fcmp ueq float %a,%b
- %retval = select bool %tmp, i32 666, i32 42
+ %retval = select i1 %tmp, i32 666, i32 42
ret i32 %retval
}