source: icGREP/icgrep-devel/llvm-3.8.0.src/test/CodeGen/ARM/fpcmp_ueq.ll @ 5027

Last change on this file since 5027 was 5027, checked in by cameron, 3 years ago

Upgrade to llvm 3.8

File size: 396 bytes
Line 
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-LABEL: 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
Note: See TracBrowser for help on using the repository browser.