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
256 B
LLVM

; RUN: opt < %s -passes=instcombine -disable-output
define i32 @test() {
%tmp203 = icmp eq i32 1, 2 ; <i1> [#uses=1]
%tmp203.upgrd.1 = zext i1 %tmp203 to i32 ; <i32> [#uses=1]
ret i32 %tmp203.upgrd.1
}