1
0
mirror of https://github.com/c64scene-ar/llvm-6502.git synced 2024-12-18 10:31:57 +00:00
llvm-6502/test/Transforms/LoopSimplify/2004-02-05-DominatorInfoCorruption.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

15 lines
436 B
LLVM

; RUN: opt < %s -loop-simplify -verify -licm -disable-output
define void @.subst_48() {
entry:
br label %loopentry.0
loopentry.0: ; preds = %loopentry.0, %entry
br i1 false, label %loopentry.0, label %loopentry.2
loopentry.2: ; preds = %loopentry.2, %loopentry.0
%tmp.968 = icmp sle i32 0, 3 ; <i1> [#uses=1]
br i1 %tmp.968, label %loopentry.2, label %UnifiedReturnBlock
UnifiedReturnBlock: ; preds = %loopentry.2
ret void
}