From 90c8194425f06ad2fb23270693812885d5a37f24 Mon Sep 17 00:00:00 2001 From: Chris Lattner Date: Thu, 21 Jun 2001 03:00:25 +0000 Subject: [PATCH] Add a test case: an irreducible flow graph. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@46 91177308-0d34-0410-b5e6-96231b3b80d8 --- test/irreducible.ll | 14 ++++++++++++++ 1 file changed, 14 insertions(+) create mode 100644 test/irreducible.ll diff --git a/test/irreducible.ll b/test/irreducible.ll new file mode 100644 index 00000000000..4daed8a2b34 --- /dev/null +++ b/test/irreducible.ll @@ -0,0 +1,14 @@ +implementation + +;; This is an irreducible flow graph + +void "irreducible"(bool %cond) +begin + br bool %cond, label %X, label %Y + +X: + br label %Y +Y: + br label %X +end +