llvm/test/Transforms/LoopSimplify/2004-03-15-IncorrectDomUpdate.ll
Cameron Zwarich 4a60b932a2 Rename 'loopsimplify' to 'loop-simplify'.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@125317 91177308-0d34-0410-b5e6-96231b3b80d8
2011-02-10 23:38:10 +00:00

12 lines
273 B
LLVM

; RUN: opt < %s -loop-simplify -licm -disable-output
define void @main() {
entry:
br i1 false, label %Out, label %loop
loop: ; preds = %loop, %entry
%LI = icmp sgt i32 0, 0 ; <i1> [#uses=1]
br i1 %LI, label %loop, label %Out
Out: ; preds = %loop, %entry
ret void
}