mirror of
https://github.com/RPCS3/llvm-mirror.git
synced 2024-11-22 18:54:02 +01:00
4bf7d5872e
Upgrade of the IR text tests should be the only thing blocking making typed byval mandatory. Partially done through regex and partially manual.
21 lines
402 B
LLVM
21 lines
402 B
LLVM
; DISABLE: llc -march=mipsel < %s | FileCheck %s
|
|
; RUN: false
|
|
; XFAIL: *
|
|
|
|
; CHECK: .set macro
|
|
; CHECK: .set at
|
|
; CHECK-NEXT: .cprestore
|
|
; CHECK: .set noat
|
|
; 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(%struct.S) %s)
|
|
ret void
|
|
}
|
|
|
|
declare void @foo1(%struct.S* byval(%struct.S))
|