bolt/deps/llvm-18.1.8/llvm/test/CodeGen/Generic/2010-11-04-BigByval.ll

20 lines
559 B
LLVM
Raw Normal View History

2025-02-14 19:21:04 +01:00
; 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{{.*}}
; AArch64 incorrectly nests ADJCALLSTACKDOWN/ADJCALLSTACKUP.
; UNSUPPORTED: expensive_checks && target=aarch64{{.*}}
%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
}