[clang] [llvm] [LoongArch][BF16] Add support for the __bf16 type (PR #142548)

via llvm-commits llvm-commits at lists.llvm.org
Thu Jun 5 20:15:14 PDT 2025


================
@@ -0,0 +1,19 @@
+// NOTE: Assertions have been autogenerated by utils/update_cc_test_checks.py UTC_ARGS: --version 2
+// RUN: %clang_cc1 -triple loongarch64 -emit-llvm -o - %s | FileCheck %s --check-prefixes=CHECK-LA64
+// RUN: %clang_cc1 -triple loongarch32 -emit-llvm -o - %s | FileCheck %s --check-prefixes=CHECK-LA32
----------------
Ami-zhang wrote:

Both LA32 and LA64 follow the C++ ABI for `__bf16` name mangling, so the default `FileCheck` prefix can be used for verification.

https://github.com/llvm/llvm-project/pull/142548


More information about the llvm-commits mailing list