Skip to content

Commit 9ef293e

Browse files
authored
[LoongArch] Add supplemental release notes for LLVM 21 (#148771)
1 parent ee9b84f commit 9ef293e

File tree

2 files changed

+8
-0
lines changed

2 files changed

+8
-0
lines changed

lld/docs/ReleaseNotes.rst

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -70,6 +70,10 @@ ELF Improvements
7070
not provided in the command line by the user and cannot be inferred from
7171
inputs.
7272
* For LoongArch, the initial-exec to local-exec TLS optimization has been implemented.
73+
* For LoongArch, several relaxation optimizations are supported, including relaxation for
74+
``R_LARCH_PCALA_HI20/LO12`` and ``R_LARCH_GOT_PC_HI20/LO12`` relocations, instruction
75+
relaxation for ``R_LARCH_CALL36``, TLS local-exec (``LE``)/global dynamic (``GD``)/
76+
local dynamic (``LD``) model relaxation, and TLSDESC code sequence relaxation.
7377
* For RISCV, an oscillation bug due to call relaxation is now fixed.
7478
(`#142899 <https://github.com/llvm/llvm-project/pull/142899>`_)
7579
* For x86-64, the ``.ltext`` section is now placed before ``.rodata``.

llvm/docs/ReleaseNotes.md

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -145,6 +145,10 @@ Changes to the LoongArch Backend
145145

146146
* Changing the default code model from `small` to `medium` for 64-bit.
147147
* Added inline asm support for the `q` constraint.
148+
* Added the `32s` target feature for LA32S ISA extensions.
149+
* Added codegen support for atomic-ops (`cmpxchg`, `max`, `min`, `umax`, `umin`) on LA32.
150+
* Added codegen support for the ILP32D calling convention.
151+
* Added several codegen and vectorization optimizations.
148152

149153
Changes to the MIPS Backend
150154
---------------------------

0 commit comments

Comments
 (0)