1; RUN: llc < %s -mtriple=arm-apple-darwin | grep moveq
2; RUN: llc < %s -mtriple=armv7-apple-darwin -mcpu=cortex-a8 | FileCheck %s
3
4define i32 @f7(float %a, float %b) {
5entry:
6; CHECK: 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}
16
17