llvm-project/llvm/test/Transforms/InstCombine/2004-04-04-InstCombineRepla...

11 lines
212 B
LLVM

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