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