blob: 740ae2caa1980682af1c45e6b2136c1115993205 [file] [log] [blame]
; RUN: llc < %s
; PR7170
; The test is intentionally disabled only for the NVPTX target
; (i.e. not for nvptx-registered-target feature) due to excessive runtime.
; Please note, that there are NVPTX special testcases for "byval"
; UNSUPPORTED: target=nvptx{{.*}}
%big = type [131072 x i8]
declare void @foo(ptr byval(%big) align 1)
define void @bar(ptr byval(%big) align 1 %x) {
call void @foo(ptr byval(%big) align 1 %x)
ret void
}