1 ; RUN: opt < %s 2>&1 -disable-output \
2 ; RUN: -passes='simple-loop-unswitch<nontrivial>' \
3 ; RUN: -print-after=simple-loop-unswitch \
6 ; CHECK: *** IR Dump After SimpleLoopUnswitchPass on loop %for.cond in function loop ***
7 ; CHECK: *** IR Dump After SimpleLoopUnswitchPass on loop %for.cond.us in function loop ***
9 define void @loop(i1 %w) {
13 for.cond: ; preds = %for.inc, %entry
14 br i1 %w, label %for.inc, label %if.then
16 if.then: ; preds = %for.cond
19 for.inc: ; preds = %if.then, %for.cond