Don't analyze block if it's not considered for ifcvt anymore.
[llvm/stm8.git] / test / Analysis / RegionInfo / 20100809_bb_not_in_domtree.ll
blob218b4375f70cc4e32ce8a8144d55c2e843edf5ac
1 ; RUN: opt -regions %s
2 define i32 @main() nounwind {
3 entry:
4   br label %for.cond
6 test:
7   br label %for.cond
9 for.cond:                                         ; preds = %for.inc, %entry
10   br i1 true, label %for.body, label %for.end
12 for.body:                                         ; preds = %for.cond
13   br label %for.inc
15 for.inc:                                          ; preds = %for.body
16   br label %for.cond
18 for.end:                                          ; preds = %for.cond
19   ret i32 0