1
0
mirror of https://github.com/RPCS3/llvm-mirror.git synced 2024-11-23 11:13:28 +01:00
llvm-mirror/test/Analysis/BasicAA/2006-11-03-BasicAAVectorCrash.ll
Dan Gohman 6aff5b94ff Make BasicAliasAnalysis a normal AliasAnalysis implementation which
does normal initialization and normal chaining. Change the default
AliasAnalysis implementation to NoAlias.

Update StandardCompileOpts.h and friends to explicitly request
BasicAliasAnalysis.

Update tests to explicitly request -basicaa.

llvm-svn: 116720
2010-10-18 18:04:47 +00:00

49 lines
1.2 KiB
LLVM

; RUN: opt < %s -basicaa -licm -disable-output
target datalayout = "E-p:32:32"
target triple = "powerpc-apple-darwin8.7.0"
define void @glgRunProcessor() {
entry:
br i1 false, label %bb2037.i, label %cond_true.i18
cond_true.i18: ; preds = %entry
ret void
bb205.i: ; preds = %bb2037.i
switch i32 0, label %bb1013.i [
i32 14, label %bb239.i
i32 15, label %bb917.i
]
bb239.i: ; preds = %bb205.i
br i1 false, label %cond_false277.i, label %cond_true264.i
cond_true264.i: ; preds = %bb239.i
ret void
cond_false277.i: ; preds = %bb239.i
%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
bb917.i: ; preds = %bb205.i
ret void
bb1013.i: ; preds = %bb205.i
ret void
cond_true1032.i: ; preds = %cond_false277.i
%tmp1187.i = getelementptr [2 x <4 x i32>]* null, i32 0, i32 0, i32 7 ; <i32*> [#uses=1]
store i32 0, i32* %tmp1187.i
br label %bb2037.i
cond_false1063.i85: ; preds = %cond_false277.i
ret void
bb2037.i: ; preds = %cond_true1032.i, %entry
br i1 false, label %bb205.i, label %cond_next2042.i
cond_next2042.i: ; preds = %bb2037.i
ret void
}