llvm-project/llvm/test/CodeGen/Generic/2010-11-04-BigByval.ll
David Spickett 69f1cd58aa [llvm][AArch64] Disable BigByval with expensive checks
AArch64 incorrectly nests ADJCALLSTACKDOWN/ADJCALLSTACKUP which fails
to verify with expensive checks enabled.

See https://github.com/llvm/llvm-project/issues/62137 and
https://github.com/llvm/llvm-project/issues/62138.
2023-08-31 10:15:45 +00:00

20 lines
559 B
LLVM

; 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
}