Files
clang-p2996/llvm/test/Transforms/InstCombine/2004-08-10-BoolSetCC.ll
Bjorn Pettersson acdc419c89 [test] Use -passes=instcombine instead of -instcombine in lots of tests. NFC
Another step moving away from the deprecated syntax of specifying
pass pipeline in opt.

Differential Revision: https://reviews.llvm.org/D119081
2022-02-07 14:26:59 +01:00

9 lines
185 B
LLVM

; RUN: opt < %s -passes=instcombine -S | \
; RUN: grep "ret i1 false"
define i1 @test(i1 %V) {
%Y = icmp ult i1 %V, false ; <i1> [#uses=1]
ret i1 %Y
}