summaryrefslogtreecommitdiffstats
path: root/test/Transforms/InstCombine/2004-04-04-InstCombineReplaceAllUsesWith.ll
blob: 0b93eb2322eb54afaacea5649ed00b36f61fe64b (plain)
1
2
3
4
5
6
7
8
9
10
; 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
}

OpenPOWER on IntegriCloud