diff options
Diffstat (limited to 'test/Analysis/PostDominators/2007-04-20-PostDom-Reset.ll')
-rw-r--r-- | test/Analysis/PostDominators/2007-04-20-PostDom-Reset.ll | 28 |
1 files changed, 28 insertions, 0 deletions
diff --git a/test/Analysis/PostDominators/2007-04-20-PostDom-Reset.ll b/test/Analysis/PostDominators/2007-04-20-PostDom-Reset.ll new file mode 100644 index 0000000..4deec98 --- /dev/null +++ b/test/Analysis/PostDominators/2007-04-20-PostDom-Reset.ll @@ -0,0 +1,28 @@ +; RUN: llvm-as < %s | opt -postdomfrontier -disable-output + +define void @args_out_of_range() { +entry: + br label %bb + +bb: ; preds = %bb, %entry + br label %bb +} + +define void @args_out_of_range_3() { +entry: + br label %bb + +bb: ; preds = %bb, %entry + br label %bb +} + +define void @Feq() { +entry: + br i1 false, label %cond_true, label %cond_next + +cond_true: ; preds = %entry + unreachable + +cond_next: ; preds = %entry + unreachable +} |