aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAmi-zhang <zhanglimin@loongson.cn>2025-07-02 09:21:33 +0800
committerGitHub <noreply@github.com>2025-07-02 09:21:33 +0800
commit3deed4211a46632a25b1b558b357273a5ce4ee96 (patch)
treee308c71d21c982d31c9dcd68c1fb3ef2e4af063d
parenta87b27fd5161ec43527fc3356852046a321ea82c (diff)
downloadllvm-3deed4211a46632a25b1b558b357273a5ce4ee96.zip
llvm-3deed4211a46632a25b1b558b357273a5ce4ee96.tar.gz
llvm-3deed4211a46632a25b1b558b357273a5ce4ee96.tar.bz2
[docs] Add clang release notes for LoongArch (#146481)
-rw-r--r--clang/docs/ReleaseNotes.rst17
1 files changed, 17 insertions, 0 deletions
diff --git a/clang/docs/ReleaseNotes.rst b/clang/docs/ReleaseNotes.rst
index e6c8f9d..7af5f11 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
^^^^^^^^^^^^^^