https://github.com/Ami-zhang updated https://github.com/llvm/llvm-project/pull/146481
>From 158f2104ad5d2779f56786994c086220b2f4714f Mon Sep 17 00:00:00 2001 From: Ami-zhang <zhangli...@loongson.cn> Date: Tue, 1 Jul 2025 15:16:58 +0800 Subject: [PATCH] [docs] Add clang release notes for LoongArch --- clang/docs/ReleaseNotes.rst | 28 ++++++++++++++++++++++++++++ 1 file changed, 28 insertions(+) diff --git a/clang/docs/ReleaseNotes.rst b/clang/docs/ReleaseNotes.rst index e6c8f9df22170..326b297324648 100644 --- a/clang/docs/ReleaseNotes.rst +++ b/clang/docs/ReleaseNotes.rst @@ -985,6 +985,34 @@ Windows Support LoongArch Support ^^^^^^^^^^^^^^^^^ +- Add support for OHOS on loongarch64. + +- Add inline asm support for the `q` constraint. + +- Add `same-address` constraint to the description of `-m[no]ld-seq-sa`. + +- 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. + +- 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. + +- Fix incorrect _BitInt(N>64) alignment. Now consistently uses 16-byte alignment for all + `_BitInt(N)` where N > 64. + RISC-V Support ^^^^^^^^^^^^^^ _______________________________________________ cfe-commits mailing list cfe-commits@lists.llvm.org https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits