8 lines · cpp
1// RUN: %clang_cc1 -triple aarch64 -target-feature +bf16 -emit-llvm -o - %s | FileCheck %s2// RUN: %clang_cc1 -triple aarch64 -target-feature -bf16 -emit-llvm -o - %s | FileCheck %s3// RUN: %clang_cc1 -triple arm-arm-none-eabi -target-feature +bf16 -mfloat-abi hard -emit-llvm -o - %s | FileCheck %s4// RUN: %clang_cc1 -triple arm-arm-none-eabi -target-feature +bf16 -mfloat-abi softfp -emit-llvm -o - %s | FileCheck %s5 6// CHECK: define {{.*}}void @_Z3foou6__bf16(bfloat noundef %b)7void foo(__bf16 b) {}8