Skip to content

Commit 6458218

Browse files
committed
[docs] Add llvm & clang release notes for LoongArch
Reviewed By: rengolin Differential Revision: https://reviews.llvm.org/D141750
1 parent 2deb10c commit 6458218

File tree

2 files changed

+32
-0
lines changed

2 files changed

+32
-0
lines changed

clang/docs/ReleaseNotes.rst

Lines changed: 13 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -802,6 +802,19 @@ CUDA Support in Clang
802802
- Clang now supports CUDA SDK up to 11.8
803803
- Added support for targeting sm_{87,89,90} GPUs.
804804

805+
LoongArch Support in Clang
806+
--------------------------
807+
- Clang now supports LoongArch. Along with the backend, clang is able to build a
808+
large corpus of Linux applications. Test-suite 100% pass.
809+
- Support basic option ``-march=`` which is used to select the target
810+
architecture, i.e. the basic set of ISA modules to be enabled. Possible values
811+
are ``loongarch64`` and ``la464``.
812+
- Support basic option ``-mabi=`` which is used to select the base ABI type.
813+
Possible values are ``lp64d``, ``lp64f``, ``lp64s``, ``ilp32d``, ``ilp32f``
814+
and ``ilp32s``.
815+
- Support extended options: ``-msoft-float``, ``-msingle-float``, ``-mdouble-float`` and ``mfpu=``.
816+
See `LoongArch toolchain conventions <https://loongson.github.io/LoongArch-Documentation/LoongArch-toolchain-conventions-EN.html>`_.
817+
805818
RISC-V Support in Clang
806819
-----------------------
807820
- ``sifive-7-rv32`` and ``sifive-7-rv64`` are no longer supported for ``-mcpu``.

llvm/docs/ReleaseNotes.rst

Lines changed: 19 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -47,6 +47,8 @@ Non-comprehensive list of changes in this release
4747
is not a constant in coroutines. This decision may cause unnecessary
4848
performance regressions and we plan to fix it in later versions.
4949

50+
* The LoongArch target is promoted to "official" (see below for more details).
51+
5052
* ...
5153

5254
Update on required toolchains to build LLVM
@@ -154,6 +156,19 @@ Changes to the Hexagon Backend
154156

155157
* ...
156158

159+
Changes to the LoongArch Backend
160+
--------------------------------
161+
162+
* The LoongArch target is no longer "experimental"! It's now built by default,
163+
rather than needing to be enabled with ``LLVM_EXPERIMENTAL_TARGETS_TO_BUILD``.
164+
165+
* The backend has full codegen support for the base (both integer and
166+
floating-point) instruction set and it conforms to psABI v2. Testing has been
167+
performed with Linux, including native compilation of a large corpus of Linux
168+
applications.
169+
170+
* Support GHC calling convention.
171+
157172
Changes to the MIPS Backend
158173
---------------------------
159174

@@ -279,9 +294,13 @@ Changes to the LLVM tools
279294
Changes to LLDB
280295
---------------------------------
281296

297+
* Initial support for debugging Linux LoongArch 64-bit binaries.
298+
282299
Changes to Sanitizers
283300
---------------------
284301

302+
* Many Sanitizers (asan, fuzzer, lsan, safestack, scudo, tsan, ubsan) have
303+
support for Linux LoongArch 64-bit variant. Some of them may be rudimentary.
285304

286305
Other Changes
287306
-------------

0 commit comments

Comments
 (0)