aboutsummaryrefslogtreecommitdiff
path: root/test/Transforms/InstCombine/not-fcmp.ll
blob: 5c9837a8a3341b6fd8a1eeb9a8d419c6f01f7e5d (plain)
1
2
3
4
5
6
7
8
9
10
; RUN: opt %s -instcombine | llvm-dis | grep "fcmp uge"
; 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
}