llvm-for-llvmta/test/CodeGen/SystemZ/ghc-cc-07.ll

13 lines
355 B
LLVM
Raw Permalink Normal View History

2022-04-25 10:02:23 +02:00
; Check that the GHC calling convention works (s390x)
; In GHC calling convention a frame pointer is not supported
;
; RUN: not --crash llc -mtriple=s390x-ibm-linux < %s 2>&1 | FileCheck %s
define ghccc void @foo(i64 %0) nounwind {
entry:
alloca i64, i64 %0
ret void
}
; CHECK: LLVM ERROR: In GHC calling convention a frame pointer is not supported