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

Merged
merged 1 commit into from
Jul 2, 2025
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
17 changes: 17 additions & 0 deletions clang/docs/ReleaseNotes.rst
Original file line number Diff line number Diff line change
Expand Up @@ -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
^^^^^^^^^^^^^^

Expand Down
Loading