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.
12 lines
208 B
LLVM
12 lines
208 B
LLVM
; RUN: llc < %s
|
|
; PR7170
|
|
|
|
%big = type [131072 x i8]
|
|
|
|
declare void @foo(%big* byval(%big) align 1)
|
|
|
|
define void @bar(%big* byval(%big) align 1 %x) {
|
|
call void @foo(%big* byval(%big) align 1 %x)
|
|
ret void
|
|
}
|