llvm-6502/test/Transforms/LoopRotate/LRCrash-3.ll
Devang Patel 43979df430 Add Loop Rotate test cases.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@35838 91177308-0d34-0410-b5e6-96231b3b80d8
2007-04-09 22:22:42 +00:00

42 lines
932 B
LLVM

; RUN: llvm-upgrade < %s | llvm-as | opt -loop-rotate -disable-output
void @_ZN9Classfile4readEv() {
entry:
br i1 false, label %cond_false485, label %bb405
bb405: ; preds = %entry
ret void
cond_false485: ; preds = %entry
br label %bb830
bb511: ; preds = %bb830
br i1 false, label %bb816, label %bb830
cond_next667: ; preds = %bb816
br i1 false, label %cond_next695, label %bb680
bb676: ; preds = %bb680
br label %bb680
bb680: ; preds = %bb676, %cond_next667
%iftmp.68.0 = zext i1 false to i8 ; <i8> [#uses=1]
br i1 false, label %bb676, label %cond_next695
cond_next695: ; preds = %bb680, %cond_next667
%iftmp.68.2 = phi i8 [ %iftmp.68.0, %bb680 ], [ undef, %cond_next667 ] ; <i8> [#uses=0]
ret void
bb816: ; preds = %bb816, %bb511
br i1 false, label %cond_next667, label %bb816
bb830: ; preds = %bb511, %cond_false485
br i1 false, label %bb511, label %bb835
bb835: ; preds = %bb830
ret void
}