xref: /llvm-project/clang/test/CodeGen/arm-mangle-bf16.cpp (revision 02e9441d6ca73314afa1973a234dce1e390da1da)
1 // RUN: %clang_cc1 -triple aarch64 -target-feature +bf16 -emit-llvm -o - %s | FileCheck %s
2 // RUN: %clang_cc1 -triple aarch64 -target-feature -bf16 -emit-llvm -o - %s | FileCheck %s
3 // RUN: %clang_cc1 -triple arm-arm-none-eabi -target-feature +bf16 -mfloat-abi hard -emit-llvm -o - %s | FileCheck %s
4 // RUN: %clang_cc1 -triple arm-arm-none-eabi -target-feature +bf16 -mfloat-abi softfp -emit-llvm -o - %s | FileCheck %s
5 
6 // CHECK: define {{.*}}void @_Z3foou6__bf16(bfloat noundef %b)
foo(__bf16 b)7 void foo(__bf16 b) {}
8