mirror of
https://github.com/c64scene-ar/llvm-6502.git
synced 2024-08-23 02:29:18 +00:00
cleanup testcase some more
rdar://problem/13056109 git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@180619 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
parent
9d5d58a49b
commit
2cab9ba7b3
@ -23,30 +23,30 @@ while.body: ; preds = %while.cond
|
||||
br label %while.cond
|
||||
}
|
||||
|
||||
declare void @llvm.dbg.declare(metadata, metadata) #1
|
||||
declare void @llvm.dbg.declare(metadata, metadata)
|
||||
|
||||
define void @init() nounwind {
|
||||
entry:
|
||||
%i14 = alloca %struct.i14*, align 8
|
||||
call void @llvm.dbg.declare(metadata !{%struct.i14** %i14}, metadata !25)
|
||||
store %struct.i14* null, %struct.i14** %i14, align 8
|
||||
%call = call i32 @foo(i8* bitcast (void ()* @bar to i8*), %struct.i14** %i14) #3
|
||||
%call = call i32 @foo(i8* bitcast (void ()* @bar to i8*), %struct.i14** %i14)
|
||||
%0 = load %struct.i14** %i14, align 8
|
||||
%i16 = getelementptr inbounds %struct.i14* %0, i32 0, i32 0
|
||||
%1 = load i32* %i16, align 4
|
||||
%or = or i32 %1, 4
|
||||
store i32 %or, i32* %i16, align 4
|
||||
%call4 = call i32 @foo(i8* bitcast (void ()* @baz to i8*), %struct.i14** %i14) #3
|
||||
%call4 = call i32 @foo(i8* bitcast (void ()* @baz to i8*), %struct.i14** %i14)
|
||||
ret void
|
||||
}
|
||||
|
||||
declare i32 @foo(i8*, %struct.i14**) #2
|
||||
declare i32 @foo(i8*, %struct.i14**) nounwind
|
||||
|
||||
define internal void @bar() nounwind {
|
||||
entry:
|
||||
%i9 = alloca i64, align 8
|
||||
store i64 0, i64* %i9, align 8
|
||||
%call = call i32 @put(i64 0, i64* %i9, i64 0, %struct.i24* null) #3
|
||||
%call = call i32 @put(i64 0, i64* %i9, i64 0, %struct.i24* null)
|
||||
ret void
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user