mirror of
https://github.com/llvm/llvm-project.git
synced 2025-04-25 18:56:06 +00:00

Using "eabi" for aarch64 targets is a common mistake and warned by driver (D153430). We want to avoid them for -cc1 tests as well.
8 lines
506 B
C++
8 lines
506 B
C++
// RUN: %clang_cc1 -triple aarch64 -target-feature +bf16 -emit-llvm -o - %s | FileCheck %s
|
|
// RUN: %clang_cc1 -triple aarch64 -target-feature -bf16 -emit-llvm -o - %s | FileCheck %s
|
|
// RUN: %clang_cc1 -triple arm-arm-none-eabi -target-feature +bf16 -mfloat-abi hard -emit-llvm -o - %s | FileCheck %s
|
|
// RUN: %clang_cc1 -triple arm-arm-none-eabi -target-feature +bf16 -mfloat-abi softfp -emit-llvm -o - %s | FileCheck %s
|
|
|
|
// CHECK: define {{.*}}void @_Z3foou6__bf16(bfloat noundef %b)
|
|
void foo(__bf16 b) {}
|