mirror of
https://github.com/c64scene-ar/llvm-6502.git
synced 2024-12-21 00:32:23 +00:00
c1be92f3bb
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. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@116720 91177308-0d34-0410-b5e6-96231b3b80d8
23 lines
991 B
LLVM
23 lines
991 B
LLVM
; RUN: opt < %s -basicaa -licm
|
|
|
|
%"java/lang/Object" = type { %struct.llvm_java_object_base }
|
|
%"java/lang/StringBuffer" = type { "java/lang/Object", i32, { "java/lang/Object", i32, [0 x i8] }*, i1 }
|
|
%struct.llvm_java_object_base = type opaque
|
|
|
|
define void @"java/lang/StringBuffer/setLength(I)V"(%struct.llvm_java_object_base*) {
|
|
bc0:
|
|
br i1 false, label %bc40, label %bc65
|
|
|
|
bc65: ; preds = %bc0, %bc40
|
|
ret void
|
|
|
|
bc40: ; preds = %bc0, %bc40
|
|
%tmp75 = bitcast %struct.llvm_java_object_base* %0 to %"java/lang/StringBuffer"* ; <"java/lang/StringBuffer"*> [#uses=1]
|
|
%tmp76 = getelementptr %"java/lang/StringBuffer"* %tmp75, i32 0, i32 1 ; <i32*> [#uses=1]
|
|
store i32 0, i32* %tmp76
|
|
%tmp381 = bitcast %struct.llvm_java_object_base* %0 to %"java/lang/StringBuffer"* ; <"java/lang/StringBuffer"*> [#uses=1]
|
|
%tmp392 = getelementptr %"java/lang/StringBuffer"* %tmp381, i32 0, i32 1 ; <i32*> [#uses=1]
|
|
%tmp403 = load i32* %tmp392 ; <i32> [#uses=0]
|
|
br i1 false, label %bc40, label %bc65
|
|
}
|