[llvm-commits] CVS: llvm/test/Regression/Analysis/BasicAA/2004-12-08-BasicAACrash2.ll
Alkis Evlogimenos
alkis at cs.uiuc.edu
Wed Dec 8 15:56:25 PST 2004
Changes in directory llvm/test/Regression/Analysis/BasicAA:
2004-12-08-BasicAACrash2.ll added (r1.1)
---
Log message:
Add testcase and fix for yet another case where we query the size an
abstract type.
---
Diffs of the changes: (+22 -0)
Index: llvm/test/Regression/Analysis/BasicAA/2004-12-08-BasicAACrash2.ll
diff -c /dev/null llvm/test/Regression/Analysis/BasicAA/2004-12-08-BasicAACrash2.ll:1.1
*** /dev/null Wed Dec 8 17:56:25 2004
--- llvm/test/Regression/Analysis/BasicAA/2004-12-08-BasicAACrash2.ll Wed Dec 8 17:56:15 2004
***************
*** 0 ****
--- 1,22 ----
+ ; RUN: llvm-as < %s | opt -dse
+
+ "java/lang/Object" = type { %struct.llvm_java_object_base }
+ "java/lang/StringBuffer" = type { "java/lang/Object", int, { "java/lang/Object", uint, [0 x ushort] }*, bool }
+ %struct.llvm_java_object_base = type opaque
+
+ implementation ; Functions:
+
+ void "java/lang/StringBuffer/ensureCapacity_unsynchronized(I)V"() {
+ bc0:
+ %tmp = getelementptr "java/lang/StringBuffer"* null, int 0, uint 3 ; <bool*> [#uses=1]
+ br bool false, label %bc16, label %bc7
+
+ bc16: ; preds = %bc0
+ %tmp91 = getelementptr "java/lang/StringBuffer"* null, int 0, uint 2 ; <{ "java/lang/Object", uint, [0 x ushort] }**> [#uses=1]
+ store { "java/lang/Object", uint, [0 x ushort] }* null, { "java/lang/Object", uint, [0 x ushort] }** %tmp91
+ store bool false, bool* %tmp
+ ret void
+
+ bc7: ; preds = %bc0
+ ret void
+ }
More information about the llvm-commits
mailing list