mirror of
https://github.com/RPCS3/llvm-mirror.git
synced 2024-10-21 03:53:04 +02:00
6d0230847c
to be unreliable on platforms which require memcpy calls, and it is complicating broader legalize cleanups. It is hoped that these cleanups will make memcpy byval easier to implement in the future. llvm-svn: 138977
20 lines
362 B
LLVM
20 lines
362 B
LLVM
; RUN: llc -march=mipsel < %s | FileCheck %s
|
|
|
|
; byval is currently unsupported.
|
|
; XFAIL: *
|
|
|
|
; CHECK: .set macro
|
|
; CHECK-NEXT: .cprestore
|
|
; CHECK-NEXT: .set nomacro
|
|
|
|
%struct.S = type { [16384 x i32] }
|
|
|
|
define void @foo2() nounwind {
|
|
entry:
|
|
%s = alloca %struct.S, align 4
|
|
call void @foo1(%struct.S* byval %s)
|
|
ret void
|
|
}
|
|
|
|
declare void @foo1(%struct.S* byval)
|