2009-09-11 18:01:28 +00:00
|
|
|
; RUN: opt < %s -tailduplicate -disable-output
|
2004-03-16 23:07:52 +00:00
|
|
|
|
2008-03-10 07:21:50 +00:00
|
|
|
define void @ab() {
|
2004-03-16 23:07:52 +00:00
|
|
|
entry:
|
|
|
|
br label %loopentry.5
|
2008-03-10 07:21:50 +00:00
|
|
|
loopentry.5: ; preds = %no_exit.5, %entry
|
|
|
|
%poscnt.1 = phi i64 [ 0, %entry ], [ %tmp.289, %no_exit.5 ] ; <i64> [#uses=1]
|
|
|
|
%tmp.289 = ashr i64 %poscnt.1, 1 ; <i64> [#uses=1]
|
|
|
|
br i1 false, label %no_exit.5, label %loopexit.5
|
|
|
|
no_exit.5: ; preds = %loopentry.5
|
2004-03-16 23:07:52 +00:00
|
|
|
br label %loopentry.5
|
2008-03-10 07:21:50 +00:00
|
|
|
loopexit.5: ; preds = %loopentry.5
|
2004-03-16 23:07:52 +00:00
|
|
|
ret void
|
|
|
|
}
|
2008-03-10 07:21:50 +00:00
|
|
|
|