1; RUN: opt < %s 2>&1 -disable-output \ 2; RUN: -passes='simple-loop-unswitch<nontrivial>' \ 3; RUN: -print-after=simple-loop-unswitch \ 4; RUN: | FileCheck %s 5 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 *** 8 9define void @loop(i1 %w) { 10entry: 11 br label %for.cond 12; Loop: 13for.cond: ; preds = %for.inc, %entry 14 br i1 %w, label %for.inc, label %if.then 15 16if.then: ; preds = %for.cond 17 br label %for.inc 18 19for.inc: ; preds = %if.then, %for.cond 20 br label %for.cond 21} 22