
Make it easier to handle detected problems by providing the function signature(s) involved in cases of missing argument extensions.
15 lines
387 B
LLVM
15 lines
387 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 i16 return value.
|
|
|
|
define i16 @callee_MissingRetAttr() {
|
|
ret i16 -1
|
|
}
|
|
|
|
; CHECK: ERROR: Missing extension attribute of returned value from function:
|
|
; CHECK: i16 @callee_MissingRetAttr()
|
|
; CHECK: UNREACHABLE executed
|
|
|