diff options
Diffstat (limited to 'test/Transforms/InstCombine/2004-04-04-InstCombineReplaceAllUsesWith.ll')
-rw-r--r-- | test/Transforms/InstCombine/2004-04-04-InstCombineReplaceAllUsesWith.ll | 10 |
1 files changed, 10 insertions, 0 deletions
diff --git a/test/Transforms/InstCombine/2004-04-04-InstCombineReplaceAllUsesWith.ll b/test/Transforms/InstCombine/2004-04-04-InstCombineReplaceAllUsesWith.ll new file mode 100644 index 0000000..84f9bad --- /dev/null +++ b/test/Transforms/InstCombine/2004-04-04-InstCombineReplaceAllUsesWith.ll @@ -0,0 +1,10 @@ +; 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 +} + |