This reverts commit 80a34ae311 with fixes.
Previously, since bots turning on EXPENSIVE_CHECKS are essentially turning on
MachineVerifierPass by default on X86 and the fact that
inline-asm-avx-v-constraint-32bit.ll and inline-asm-avx512vl-v-constraint-32bit.ll
are not expected to generate functioning machine code, this would go
down to `report_fatal_error` in MachineVerifierPass. Here passing
`-verify-machineinstrs=0` to make the intent explicit.
12 lines
305 B
LLVM
12 lines
305 B
LLVM
; Check that the GHC calling convention works (s390x)
|
|
; In GHC calling convention the only allowed return type is void
|
|
;
|
|
; RUN: not --crash llc -mtriple=s390x-ibm-linux < %s 2>&1 | FileCheck %s
|
|
|
|
define ghccc i64 @foo() nounwind {
|
|
entry:
|
|
ret i64 42
|
|
}
|
|
|
|
; CHECK: LLVM ERROR: GHC functions return void only
|