diff options
author | Chris Lattner <sabre@nondot.org> | 2004-04-05 02:01:32 +0000 |
---|---|---|
committer | Chris Lattner <sabre@nondot.org> | 2004-04-05 02:01:32 +0000 |
commit | ec3f8cd551ed66a0d9bab38c10e3596105e59d71 (patch) | |
tree | 0f39b8a3d1efa52c02ec3ccbb933e2c1bbdffda0 /test/Transforms/InstCombine | |
parent | ce8492def29ac6255a480e87828f9dc8d328f412 (diff) | |
download | external_llvm-ec3f8cd551ed66a0d9bab38c10e3596105e59d71.zip external_llvm-ec3f8cd551ed66a0d9bab38c10e3596105e59d71.tar.gz external_llvm-ec3f8cd551ed66a0d9bab38c10e3596105e59d71.tar.bz2 |
New testcase that crashes the instcombine pass. Dominance properties have
no meaning if the code is not reachable.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@12657 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'test/Transforms/InstCombine')
-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 0000000..b7bfb29 --- /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 +} |