2009-09-12 02:01:28 +08:00
|
|
|
; RUN: opt < %s -indvars -disable-output
|
2005-11-19 03:38:15 +08:00
|
|
|
|
2008-03-01 17:15:35 +08:00
|
|
|
@fixtab = external global [29 x [29 x [2 x i32]]] ; <[29 x [29 x [2 x i32]]]*> [#uses=1]
|
2005-11-19 03:38:15 +08:00
|
|
|
|
2008-03-01 17:15:35 +08:00
|
|
|
define void @init_optabs() {
|
2005-11-19 03:38:15 +08:00
|
|
|
entry:
|
2008-03-01 17:15:35 +08:00
|
|
|
br label %no_exit.0
|
2005-11-19 03:38:15 +08:00
|
|
|
|
2008-03-01 17:15:35 +08:00
|
|
|
no_exit.0: ; preds = %no_exit.0, %entry
|
|
|
|
%p.0.0 = phi i32* [ getelementptr ([29 x [29 x [2 x i32]]]* @fixtab, i32 0, i32 0, i32 0, i32 0), %entry ], [ %inc.0, %no_exit.0 ] ; <i32*> [#uses=1]
|
|
|
|
%inc.0 = getelementptr i32* %p.0.0, i32 1 ; <i32*> [#uses=1]
|
2010-02-20 02:12:07 +08:00
|
|
|
br i1 undef, label %no_exit.0, label %no_exit.1
|
2005-11-19 03:38:15 +08:00
|
|
|
|
2008-03-01 17:15:35 +08:00
|
|
|
no_exit.1: ; preds = %no_exit.0
|
|
|
|
ret void
|
2005-11-19 03:38:15 +08:00
|
|
|
}
|
2008-03-01 17:15:35 +08:00
|
|
|
|