diff options
Diffstat (limited to 'test/Analysis/PostDominators/pr1098.ll')
-rw-r--r-- | test/Analysis/PostDominators/pr1098.ll | 14 |
1 files changed, 14 insertions, 0 deletions
diff --git a/test/Analysis/PostDominators/pr1098.ll b/test/Analysis/PostDominators/pr1098.ll new file mode 100644 index 000000000000..b54a9fe1c75b --- /dev/null +++ b/test/Analysis/PostDominators/pr1098.ll @@ -0,0 +1,14 @@ +; RUN: llvm-as < %s | opt -postdomtree -analyze | grep entry +; PR932 + +define void @foo(i1 %x) { +entry: + br i1 %x, label %bb1, label %bb0 +bb0: ; preds = %entry, bb0 + br label %bb0 +bb1: ; preds = %entry + br label %bb2 +bb2: ; preds = %bb1 + ret void +} + |