[clang] [docs] Add clang release notes for LoongArch (PR #146481)

via cfe-commits cfe-commits at lists.llvm.org
Tue Jul 1 05:06:21 PDT 2025


https://github.com/Ami-zhang updated https://github.com/llvm/llvm-project/pull/146481

>From 5558eab854332c0b6cec0b9c7a1f0d0f9dd2a797 Mon Sep 17 00:00:00 2001
From: Ami-zhang <zhanglimin at loongson.cn>
Date: Tue, 1 Jul 2025 15:16:58 +0800
Subject: [PATCH] [docs] Add clang release notes for LoongArch

---
 clang/docs/ReleaseNotes.rst | 17 +++++++++++++++++
 1 file changed, 17 insertions(+)

diff --git a/clang/docs/ReleaseNotes.rst b/clang/docs/ReleaseNotes.rst
index e6c8f9df22170..7af5f116ee98f 100644
--- a/clang/docs/ReleaseNotes.rst
+++ b/clang/docs/ReleaseNotes.rst
@@ -985,6 +985,23 @@ Windows Support
 LoongArch Support
 ^^^^^^^^^^^^^^^^^
 
+- Add support for OHOS on loongarch64.
+
+- Add target attribute support for function. Supported formats include:
+  * `arch=<arch>` strings - specifies architecture features for a function (equivalent to `-march=<arch>`).
+  * `tune=<cpu>` strings - specifies the tune CPU for a function (equivalent to `-mtune`).
+  * `<feature>`/`no-<feature>` - enables/disables specific features.
+
+- Add support for the `_Float16` type. And fix incorrect ABI lowering of `_Float16`
+  in the case of structs containing fp16 that are eligible for passing via `GPR+FPR`
+  or `FPR+FPR`. Also fix `int16` -> `__fp16` conversion code gen, which uses generic LLVM
+  IR rather than `llvm.convert.to.fp16` intrinsics.
+
+- Add support for the `__bf16` type.
+
+- Fix incorrect _BitInt(N>64) alignment. Now consistently uses 16-byte alignment for all
+  `_BitInt(N)` where N > 64.
+
 RISC-V Support
 ^^^^^^^^^^^^^^
 



More information about the cfe-commits mailing list