1; RUN: llc < %s 2; PR7170 3 4; The test is intentionally disabled only for the NVPTX target 5; (i.e. not for nvptx-registered-target feature) due to excessive runtime. 6; Please note, that there are NVPTX special testcases for "byval" 7; UNSUPPORTED: target=nvptx{{.*}} 8 9; AArch64 incorrectly nests ADJCALLSTACKDOWN/ADJCALLSTACKUP. 10; UNSUPPORTED: expensive_checks && target=aarch64{{.*}} 11 12%big = type [131072 x i8] 13 14declare void @foo(ptr byval(%big) align 1) 15 16define void @bar(ptr byval(%big) align 1 %x) { 17 call void @foo(ptr byval(%big) align 1 %x) 18 ret void 19} 20