llvm-6502/test/irreducible.ll

15 lines
164 B
LLVM
Raw Normal View History

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