1
0
mirror of https://github.com/RPCS3/llvm-mirror.git synced 2024-10-22 20:43:44 +02:00
llvm-mirror/test/Analysis/RegionInfo/20100809_bb_not_in_domtree.ll
Dmitri Gribenko 968fc2e59b Tests: rewrite 'opt ... %s' to 'opt ... < %s' so that opt does not emit a ModuleID
This is done to avoid odd test failures, like the one fixed in r171243.

llvm-svn: 171250
2012-12-30 02:33:22 +00:00

21 lines
503 B
LLVM

; 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
}