diff options
-rw-r--r-- | test/Transforms/InstCombine/2004-04-04-InstCombineReplaceAllUsesWith.ll | 8 |
1 files changed, 8 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 0000000000..b7bfb29f43 --- /dev/null +++ b/test/Transforms/InstCombine/2004-04-04-InstCombineReplaceAllUsesWith.ll @@ -0,0 +1,8 @@ +; RUN: llvm-as < %s | opt -instcombine -disable-output + +int %test() { + ret int 0 +Loop: + %X = add int %X, 1 + br label %Loop +} |