mirror of
https://github.com/RPCS3/llvm.git
synced 2024-12-23 12:40:17 +00:00
ec9a35a6f9
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@47793 91177308-0d34-0410-b5e6-96231b3b80d8
15 lines
516 B
LLVM
15 lines
516 B
LLVM
; RUN: llvm-as %s -o - | opt -instcombine
|
|
|
|
|
|
%"java/lang/Object" = type { %struct.llvm_java_object_base }
|
|
%"java/lang/StringBuffer" = type { %"java/lang/Object", i32, { %"java/lang/Object", i32, [0 x i16] }*, i1 }
|
|
%struct.llvm_java_object_base = type opaque
|
|
|
|
define void @"java/lang/StringBuffer/append(Ljava/lang/String;)Ljava/lang/StringBuffer;"() {
|
|
bc0:
|
|
%tmp53 = getelementptr %"java/lang/StringBuffer"* null, i32 0, i32 1 ; <i32*> [#uses=1]
|
|
store i32 0, i32* %tmp53
|
|
ret void
|
|
}
|
|
|