d5d16d872f91225d24d825913f41ba552e1dc3dc
[oota-llvm.git] / test / Analysis / BasicAA / 2004-12-08-BasicAACrash2.ll
1 ; RUN: llvm-upgrade < %s | llvm-as | opt -dse
2
3 "java/lang/Object" = type { %struct.llvm_java_object_base }
4         "java/lang/StringBuffer" = type { "java/lang/Object", int, { "java/lang/Object", uint, [0 x ushort] }*, bool }
5         %struct.llvm_java_object_base = type opaque
6
7 implementation   ; Functions:
8
9 void "java/lang/StringBuffer/ensureCapacity_unsynchronized(I)V"() {
10 bc0:
11         %tmp = getelementptr "java/lang/StringBuffer"* null, int 0, uint 3              ; <bool*> [#uses=1]
12         br bool false, label %bc16, label %bc7
13
14 bc16:           ; preds = %bc0
15         %tmp91 = getelementptr "java/lang/StringBuffer"* null, int 0, uint 2            ; <{ "java/lang/Object", uint, [0 x ushort] }**> [#uses=1]
16         store { "java/lang/Object", uint, [0 x ushort] }* null, { "java/lang/Object", uint, [0 x ushort] }** %tmp91
17         store bool false, bool* %tmp
18         ret void
19
20 bc7:            ; preds = %bc0
21         ret void
22 }