llvm-project/llvm/test/Transforms/InstCombine/2004-04-04-InstCombineReplaceAllUsesWith.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

11 lines
209 B
LLVM

; RUN: opt < %s -passes=instcombine -disable-output
define i32 @test() {
ret i32 0
Loop: ; preds = %Loop
%X = add i32 %X, 1 ; <i32> [#uses=1]
br label %Loop
}