YouCompleteMe/cpp/llvm/test/Transforms/InstCombine/2004-04-04-InstCombineReplaceAllUsesWith.ll

11 lines
202 B
LLVM
Raw Normal View History

2012-07-05 20:51:06 -04:00
; RUN: opt < %s -instcombine -disable-output
define i32 @test() {
ret i32 0
Loop: ; preds = %Loop
%X = add i32 %X, 1 ; <i32> [#uses=1]
br label %Loop
}