Skip to content

Commit 3deed42

Browse files
authored
[docs] Add clang release notes for LoongArch (#146481)
1 parent a87b27f commit 3deed42

File tree

1 file changed

+17
-0
lines changed

1 file changed

+17
-0
lines changed

clang/docs/ReleaseNotes.rst

Lines changed: 17 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -985,6 +985,23 @@ Windows Support
985985
LoongArch Support
986986
^^^^^^^^^^^^^^^^^
987987

988+
- Add support for OHOS on loongarch64.
989+
990+
- Add target attribute support for function. Supported formats include:
991+
* `arch=<arch>` strings - specifies architecture features for a function (equivalent to `-march=<arch>`).
992+
* `tune=<cpu>` strings - specifies the tune CPU for a function (equivalent to `-mtune`).
993+
* `<feature>`/`no-<feature>` - enables/disables specific features.
994+
995+
- Add support for the `_Float16` type. And fix incorrect ABI lowering of `_Float16`
996+
in the case of structs containing fp16 that are eligible for passing via `GPR+FPR`
997+
or `FPR+FPR`. Also fix `int16` -> `__fp16` conversion code gen, which uses generic LLVM
998+
IR rather than `llvm.convert.to.fp16` intrinsics.
999+
1000+
- Add support for the `__bf16` type.
1001+
1002+
- Fix incorrect _BitInt(N>64) alignment. Now consistently uses 16-byte alignment for all
1003+
`_BitInt(N)` where N > 64.
1004+
9881005
RISC-V Support
9891006
^^^^^^^^^^^^^^
9901007

0 commit comments

Comments
 (0)