summaryrefslogtreecommitdiff
path: root/test/Transforms/InstCombine/2004-08-10-BoolSetCC.ll
blob: 4233797b6d7286e19f0252efd14596d6b247064b (plain)
1
2
3
4
5
6
7
8
; RUN: opt < %s -instcombine -S | \
; RUN:    grep "ret i1 false"

define i1 @test(i1 %V) {
        %Y = icmp ult i1 %V, false              ; <i1> [#uses=1]
        ret i1 %Y
}