mirror of
https://github.com/RPCS3/llvm-mirror.git
synced 2024-11-26 12:50:30 +00:00
Add a test case: an irreducible flow graph.
llvm-svn: 46
This commit is contained in:
parent
5d07eeb20a
commit
cd4c711ff3
14
test/irreducible.ll
Normal file
14
test/irreducible.ll
Normal 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
|
||||||
|
|
Loading…
Reference in New Issue
Block a user