1
0
mirror of https://github.com/RPCS3/llvm-mirror.git synced 2024-11-22 10:42:39 +01:00

Add a test case: an irreducible flow graph.

llvm-svn: 46
This commit is contained in:
Chris Lattner 2001-06-21 03:00:25 +00:00
parent 5d07eeb20a
commit cd4c711ff3

14
test/irreducible.ll Normal file
View File

@ -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