mirror of
https://github.com/RPCSX/llvm.git
synced 2024-12-14 15:39:00 +00:00
8fc5d5c0da
Differential Revision: http://reviews.llvm.org/D6432 git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@222876 91177308-0d34-0410-b5e6-96231b3b80d8
14 lines
389 B
LLVM
14 lines
389 B
LLVM
; RUN: opt < %s -instcombine -S | FileCheck %s
|
|
; PR1570
|
|
|
|
define i1 @f(float %X, float %Y) {
|
|
entry:
|
|
%tmp3 = fcmp olt float %X, %Y ; <i1> [#uses=1]
|
|
%toBoolnot5 = xor i1 %tmp3, true ; <i1> [#uses=1]
|
|
ret i1 %toBoolnot5
|
|
; CHECK-LABEL: @f(
|
|
; CHECK-NEXT: entry:
|
|
; CHECK-NEXT: %toBoolnot5 = fcmp uge float %X, %Y
|
|
; CHECK-NEXT: ret i1 %toBoolnot5
|
|
}
|