summaryrefslogtreecommitdiff
path: root/llvm/test/CodeGen/AArch64/arm64-darwin-cc.ll
blob: 9e18f778d1c4688d3c58af5af50bbc93dc2b2c74 (plain)
1
2
3
4
5
6
7
8
9
; RUN: sed -e "s,CC,cfguard_checkcc,g" %s | not --crash llc -mtriple=arm64-apple-darwin -o - 2>&1 | FileCheck %s --check-prefix=CFGUARD
; RUN: sed -e "s,CC,aarch64_sve_vector_pcs,g" %s | not --crash llc -mtriple=arm64-apple-darwin -o - 2>&1 | FileCheck %s --check-prefix=SVE_VECTOR_PCS

define CC void @f0() {
  unreachable
}

; CFGUARD: Calling convention CFGuard_Check is unsupported on Darwin.
; SVE_VECTOR_PCS: Calling convention SVE_VectorCall is unsupported on Darwin.