~pali/+junk/llvm-toolchain-3.7

« back to all changes in this revision

Viewing changes to test/CodeGen/ARM/unord.ll

  • Committer: Package Import Robot
  • Author(s): Sylvestre Ledru
  • Date: 2015-07-15 17:51:08 UTC
  • Revision ID: package-import@ubuntu.com-20150715175108-l8mynwovkx4zx697
Tags: upstream-3.7~+rc2
ImportĀ upstreamĀ versionĀ 3.7~+rc2

Show diffs side-by-side

added added

removed removed

Lines of Context:
 
1
; RUN: llc -mtriple=arm-eabi %s -o - | FileCheck %s
 
2
 
 
3
define i32 @f1(float %X, float %Y) {
 
4
        %tmp = fcmp uno float %X, %Y
 
5
        %retval = select i1 %tmp, i32 1, i32 -1
 
6
        ret i32 %retval
 
7
}
 
8
 
 
9
define i32 @f2(float %X, float %Y) {
 
10
        %tmp = fcmp ord float %X, %Y
 
11
        %retval = select i1 %tmp, i32 1, i32 -1
 
12
        ret i32 %retval
 
13
}
 
14
 
 
15
; CHECK: movne
 
16
; CHECK-NOT: movne
 
17
 
 
18
; CHECK: moveq
 
19
; CHECK-NOT: moveq
 
20