From: Chris Lattner Date: Thu, 21 Jun 2001 03:00:25 +0000 (+0000) Subject: Add a test case: an irreducible flow graph. X-Git-Url: http://demsky.eecs.uci.edu/git/?a=commitdiff_plain;h=90c8194425f06ad2fb23270693812885d5a37f24;p=oota-llvm.git 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 --- 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 +