Skip to content

[docs] Add clang release notes for LoongArch #146481

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Open
wants to merge 1 commit into
base: main
Choose a base branch
from

Conversation

Ami-zhang
Copy link
Contributor

No description provided.

@llvmbot llvmbot added the clang Clang issues not falling into any other category label Jul 1, 2025
@llvmbot
Copy link
Member

llvmbot commented Jul 1, 2025

@llvm/pr-subscribers-clang

Author: None (Ami-zhang)

Changes

Full diff: https://github.com/llvm/llvm-project/pull/146481.diff

1 Files Affected:

  • (modified) clang/docs/ReleaseNotes.rst (+30)
diff --git a/clang/docs/ReleaseNotes.rst b/clang/docs/ReleaseNotes.rst
index e6c8f9df22170..c2e8b3f63d16c 100644
--- a/clang/docs/ReleaseNotes.rst
+++ b/clang/docs/ReleaseNotes.rst
@@ -985,6 +985,36 @@ Windows Support
 LoongArch Support
 ^^^^^^^^^^^^^^^^^
 
+- Add support for OHOS on loongarch64.
+
+- Added inline asm support for the `q` constraint.
+
+- Add `same-address` constraint to the description of `-m[no]ld-seq-sa`.
+
+- Support target attribute for function. The supported formats are:
+  * `arch=<arch>` strings, that specify the architecture features for a
+    function as per the `-march=<arch>` option.
+  * `tune=<cpu>` strings, that specify the tune-cpu cpu for a function as
+    per `-mtune`.
+  * `<feature>`, `no-<feature>` enables/disables the specific feature.
+
+- Only report the first range error if there is actually more than one for
+  `__builtin_loongarch_cacop_[wd]`.
+
+- 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 `-mno-lsx` option not disabling LASX feature. When `-march` with LASX feature and
+  `-mno-lsx` options are used together, `-mno-lsx` fails to disable LASX, leaving
+  `HasFeatureLASX=true` and causing incorrect `__loongarch_sx/asx=1` macro definition.
+
+- Fixed incorrect _BitInt(N>64) alignment. For N>64, `_BitInt(N)` object always have 16-byte
+  alignment.
+
 RISC-V Support
 ^^^^^^^^^^^^^^
 

@Ami-zhang Ami-zhang force-pushed the note branch 3 times, most recently from 0942e51 to 158f210 Compare July 1, 2025 09:14
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
clang Clang issues not falling into any other category
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants