1 ; RUN: opt < %s -basicaa -licm
3 %"java/lang/Object" = type { %struct.llvm_java_object_base }
4 %"java/lang/StringBuffer" = type { "java/lang/Object", i32, { "java/lang/Object", i32, [0 x i8] }*, i1 }
5 %struct.llvm_java_object_base = type opaque
7 define void @"java/lang/StringBuffer/setLength(I)V"(%struct.llvm_java_object_base*) {
9 br i1 false, label %bc40, label %bc65
11 bc65: ; preds = %bc0, %bc40
14 bc40: ; preds = %bc0, %bc40
15 %tmp75 = bitcast %struct.llvm_java_object_base* %0 to %"java/lang/StringBuffer"* ; <"java/lang/StringBuffer"*> [#uses=1]
16 %tmp76 = getelementptr %"java/lang/StringBuffer"* %tmp75, i32 0, i32 1 ; <i32*> [#uses=1]
17 store i32 0, i32* %tmp76
18 %tmp381 = bitcast %struct.llvm_java_object_base* %0 to %"java/lang/StringBuffer"* ; <"java/lang/StringBuffer"*> [#uses=1]
19 %tmp392 = getelementptr %"java/lang/StringBuffer"* %tmp381, i32 0, i32 1 ; <i32*> [#uses=1]
20 %tmp403 = load i32* %tmp392 ; <i32> [#uses=0]
21 br i1 false, label %bc40, label %bc65