1// Part of the LLVM Project, under the Apache License v2.0 with LLVM Exceptions.
2// See https://llvm.org/LICENSE.txt for license information.
3// SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception
4
5// We rely on the FMV __aarch64_cpu_features mechanism to determine
6// which features are set at runtime.
7
8#include "../cpu_model/AArch64CPUFeatures.inc"
9_Static_assert(FEAT_SVE == 30, "sme-abi.S assumes FEAT_SVE = 30");
10_Static_assert(FEAT_SME == 42, "sme-abi.S assumes FEAT_SME = 42");
11_Static_assert(FEAT_SME2 == 57, "sme-abi.S assumes FEAT_SME2 = 57");
12

source code of compiler-rt/lib/builtins/aarch64/sme-abi-assert.c