xref: /llvm-project/llvm/test/Analysis/RegionInfo/infinite_loop.ll (revision 50153213c80286c6c91da4612aaf234cc6438c63)
1; REQUIRES: asserts
2; RUN: opt -stats -passes='print<regions>' -disable-output < %s 2>&1 | FileCheck -check-prefix=STAT %s
3
4define void @normal_condition() nounwind {
50:
6	br label %1
71:
8	br i1 1, label %2, label %3
92:
10	br label %2
113:
12	br label %4
134:
14	ret void
15}
16; STAT: 1 region - The # of regions
17