diff options
author | Devang Patel <dpatel@apple.com> | 2007-04-21 00:34:37 +0000 |
---|---|---|
committer | Devang Patel <dpatel@apple.com> | 2007-04-21 00:34:37 +0000 |
commit | 4fc82a6e434860e8294082554b3c27e12cea5509 (patch) | |
tree | 73ee21b1d6e88232a0a2d07e2dd248bf2c2a14e4 | |
parent | d1458f1d3019f7e5581480dfbb7a0f81ecd27ac0 (diff) | |
download | external_llvm-4fc82a6e434860e8294082554b3c27e12cea5509.zip external_llvm-4fc82a6e434860e8294082554b3c27e12cea5509.tar.gz external_llvm-4fc82a6e434860e8294082554b3c27e12cea5509.tar.bz2 |
New test case.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@36293 91177308-0d34-0410-b5e6-96231b3b80d8
-rw-r--r-- | test/Analysis/Dominators/2007-04-20-PostDom-Reset.ll | 28 |
1 files changed, 28 insertions, 0 deletions
diff --git a/test/Analysis/Dominators/2007-04-20-PostDom-Reset.ll b/test/Analysis/Dominators/2007-04-20-PostDom-Reset.ll new file mode 100644 index 0000000..06bc289 --- /dev/null +++ b/test/Analysis/Dominators/2007-04-20-PostDom-Reset.ll @@ -0,0 +1,28 @@ +; RUN: llvm-upgrade < %s | llvm-as | opt -postdomfrontier -disable-output + +void @args_out_of_range() { +entry: + br label %bb + +bb: ; preds = %bb, %entry + br label %bb +} + +void @args_out_of_range_3() { +entry: + br label %bb + +bb: ; preds = %bb, %entry + br label %bb +} + +void @Feq() { +entry: + br i1 false, label %cond_true, label %cond_next + +cond_true: ; preds = %entry + unreachable + +cond_next: ; preds = %entry + unreachable +} |