mirror of
https://github.com/c64scene-ar/llvm-6502.git
synced 2025-07-25 13:24:46 +00:00
pull byval processing out to its own helper function.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@122235 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
@@ -26,7 +26,8 @@ entry:
|
||||
call void @f( %struct.ss* byval %S ) nounwind
|
||||
ret i32 0
|
||||
; CHECK: @test1()
|
||||
; CHECK: %b = alloca %struct.ss
|
||||
; CHECK: %S1 = alloca %struct.ss
|
||||
; CHECK: %S = alloca %struct.ss
|
||||
; CHECK: call void @llvm.memcpy
|
||||
; CHECK: ret i32 0
|
||||
}
|
||||
@@ -74,9 +75,9 @@ entry:
|
||||
call void @f3( %struct.ss* byval align 64 %S) nounwind
|
||||
ret void
|
||||
; CHECK: @test3()
|
||||
; CHECK: %b = alloca %struct.ss, align 64
|
||||
; CHECK: %S1 = alloca %struct.ss, align 64
|
||||
; CHECK: %S = alloca %struct.ss
|
||||
; CHECK: call void @llvm.memcpy
|
||||
; CHECK: call void @g3(%struct.ss* %b)
|
||||
; CHECK: call void @g3(%struct.ss* %S1)
|
||||
; CHECK: ret void
|
||||
}
|
||||
|
Reference in New Issue
Block a user