summaryrefslogtreecommitdiffstats
path: root/llvm/test/CodeGen/SystemZ/ghc-cc-07.ll
blob: e9bb3b5e18a3e6107886f31174e3ae11115eaef7 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
; Check that the GHC calling convention works (s390x)
; In GHC calling convention a frame pointer is not supported
;
; RUN: not 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
OpenPOWER on IntegriCloud