Files
clang-p2996/llvm/test/CodeGen/SystemZ/args-17.ll
Jonas Paulsson f9fbfc587d [SystemZ] Dump function signature on missing arg extension. (#109699)
Make it easier to handle detected problems by providing the function
signature(s) involved in cases of missing argument extensions.
2024-09-30 17:03:18 +02:00

14 lines
382 B
LLVM

; RUN: not --crash llc < %s -mtriple=s390x-linux-gnu -argext-abi-check 2>&1 \
; RUN: | FileCheck %s
; REQUIRES: asserts
;
; Test detection of missing extension of an i8 return value.
define i8 @callee_MissingRetAttr() {
ret i8 -1
}
; CHECK: ERROR: Missing extension attribute of returned value from function:
; CHECK: i8 @callee_MissingRetAttr()
; CHECK: UNREACHABLE executed