llvm-project/llvm/test/Transforms/InstCombine/2005-06-15-ShiftSetCCCrash.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

10 lines
229 B
LLVM

; RUN: opt < %s -passes=instcombine -disable-output
; PR577
define i1 @test() {
%tmp.3 = shl i32 0, 41 ; <i32> [#uses=1]
%tmp.4 = icmp ne i32 %tmp.3, 0 ; <i1> [#uses=1]
ret i1 %tmp.4
}