1
0
mirror of https://github.com/RPCS3/llvm-mirror.git synced 2024-10-19 02:52:53 +02:00
llvm-mirror/test/Analysis/RegionInfo/20100809_bb_not_in_domtree.ll
2016-02-25 17:54:25 +00:00

23 lines
545 B
LLVM

; RUN: opt -regions < %s
; RUN: opt < %s -passes='print<regions>'
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
}