llvm.org GIT mirror llvm / f5f73cd test / Analysis / RegionInfo / 20100809_bb_not_in_domtree.ll
f5f73cd

Tree @f5f73cd (Download .tar.gz)

20100809_bb_not_in_domtree.ll @f5f73cdraw · history · blame

; RUN: opt -regions < %s
define i32 @main() nounwind {
entry:
  br label %for.cond

test:
  br label %for.cond

for.cond:                                         ; preds = %for.inc, %entry
  br i1 true, label %for.body, label %for.end

for.body:                                         ; preds = %for.cond
  br label %for.inc

for.inc:                                          ; preds = %for.body
  br label %for.cond

for.end:                                          ; preds = %for.cond
  ret i32 0
}