Revert r354244 "[DAGCombiner] Eliminate dead stores to stack."
[llvm-complete.git] / test / Analysis / RegionInfo / infinite_loop.ll
blob4d9057e0406add47219c45f20089cbd6d8f15b7f
1 ; REQUIRES: asserts
2 ; RUN: opt -regions -analyze < %s 
3 ; RUN: opt -regions -stats -disable-output < %s 2>&1 | FileCheck -check-prefix=STAT %s
5 define void @normal_condition() nounwind {
6 0:
7         br label %"1"
8 1:
9         br i1 1, label %"2", label %"3"
11         br label %"2"
13         br label %"4"
15         ret void
17 ; CHECK-NOT: =>
18 ; CHECK: [0] 0 => <Function Return>
19 ; STAT: 1 region - The # of regions