2009-09-12 02:01:28 +08:00
|
|
|
; RUN: opt < %s -basicaa -licm -disable-output
|
2003-02-27 07:16:44 +08:00
|
|
|
|
|
|
|
;%MoveArray = external global [64 x ulong]
|
|
|
|
|
2008-03-19 11:47:13 +08:00
|
|
|
define void @InitMoveArray() {
|
|
|
|
bb3:
|
|
|
|
%X = alloca [2 x i64] ; <[2 x i64]*> [#uses=1]
|
|
|
|
br i1 false, label %bb13, label %bb4
|
2003-02-27 07:16:44 +08:00
|
|
|
bb4: ; preds = %bb3
|
2008-03-19 11:47:13 +08:00
|
|
|
%reg3011 = getelementptr [2 x i64]* %X, i64 0, i64 0 ; <i64*> [#uses=1]
|
2003-02-27 07:16:44 +08:00
|
|
|
br label %bb8
|
|
|
|
bb8: ; preds = %bb8, %bb4
|
2008-03-19 11:47:13 +08:00
|
|
|
store i64 0, i64* %reg3011
|
|
|
|
br i1 false, label %bb8, label %bb13
|
2003-02-27 07:16:44 +08:00
|
|
|
bb13: ; preds = %bb8, %bb3
|
|
|
|
ret void
|
|
|
|
}
|
2008-03-19 11:47:13 +08:00
|
|
|
|