1
0
mirror of https://github.com/RPCS3/llvm-mirror.git synced 2024-10-31 16:02:52 +01:00
llvm-mirror/test/Analysis/BasicAA/2006-11-03-BasicAAVectorCrash.ll

49 lines
1.2 KiB
LLVM
Raw Normal View History

2008-02-14 07:56:27 +01:00
; RUN: llvm-as < %s | opt -licm -disable-output
target datalayout = "E-p:32:32"
2006-11-03 22:58:14 +01:00
target triple = "powerpc-apple-darwin8.7.0"
2008-02-14 07:56:27 +01:00
define void @glgRunProcessor() {
2006-11-03 22:58:14 +01:00
entry:
2008-02-14 07:56:27 +01:00
br i1 false, label %bb2037.i, label %cond_true.i18
2006-11-03 22:58:14 +01:00
cond_true.i18: ; preds = %entry
ret void
bb205.i: ; preds = %bb2037.i
2008-02-14 07:56:27 +01:00
switch i32 0, label %bb1013.i [
i32 14, label %bb239.i
i32 15, label %bb917.i
2006-11-03 22:58:14 +01:00
]
bb239.i: ; preds = %bb205.i
2008-02-14 07:56:27 +01:00
br i1 false, label %cond_false277.i, label %cond_true264.i
2006-11-03 22:58:14 +01:00
cond_true264.i: ; preds = %bb239.i
ret void
cond_false277.i: ; preds = %bb239.i
2008-02-14 07:56:27 +01:00
%tmp1062.i = getelementptr [2 x <4 x i32>]* null, i32 0, i32 1 ; <<4 x i32>*> [#uses=1]
store <4 x i32> zeroinitializer, <4 x i32>* %tmp1062.i
br i1 false, label %cond_true1032.i, label %cond_false1063.i85
2006-11-03 22:58:14 +01:00
bb917.i: ; preds = %bb205.i
ret void
bb1013.i: ; preds = %bb205.i
ret void
cond_true1032.i: ; preds = %cond_false277.i
2008-02-14 07:56:27 +01:00
%tmp1187.i = getelementptr [2 x <4 x i32>]* null, i32 0, i32 0, i32 7 ; <i32*> [#uses=1]
store i32 0, i32* %tmp1187.i
2006-11-03 22:58:14 +01:00
br label %bb2037.i
cond_false1063.i85: ; preds = %cond_false277.i
ret void
bb2037.i: ; preds = %cond_true1032.i, %entry
2008-02-14 07:56:27 +01:00
br i1 false, label %bb205.i, label %cond_next2042.i
2006-11-03 22:58:14 +01:00
cond_next2042.i: ; preds = %bb2037.i
ret void
}