Skip to content

Commit 4ba6a9c

Browse files
committed
[RISCV][ReleaseNotes] Added LLVM and Clang release notes for RISC-V 15.0.0
1 parent 28f4245 commit 4ba6a9c

File tree

2 files changed

+40
-1
lines changed

2 files changed

+40
-1
lines changed

clang/docs/ReleaseNotes.rst

+14
Original file line numberDiff line numberDiff line change
@@ -662,6 +662,20 @@ Arm and AArch64 Support in Clang
662662
Operations found in the :ref:`Clang Language Extensions <Vector Operations>`
663663
document.
664664

665+
RISC-V Support in Clang
666+
-----------------------
667+
668+
- Updates to the RISC-V vector intrinsics to align with ongoing additions to
669+
the RISC-V Vector intrinsics specification. Additionally, these intrinsics
670+
are now generated lazily, resulting a substantial improvement in
671+
compile-time for code including the vector intrinsics header.
672+
- Intrinsics added for the RISC-V scalar crypto ('K') extensions.
673+
- Intrinsics added for the RISC-V CLZ and CTZ instructions in the Zbb
674+
extension.
675+
- An ABI lowering bug (resulting in incorrect LLVM IR generation) was fixed.
676+
The bug could be triggered in particular circumstances in C++ when passing a
677+
data-only struct that inherits from another struct.
678+
665679
SPIR-V Support in Clang
666680
-----------------------
667681

llvm/docs/ReleaseNotes.rst

+26-1
Original file line numberDiff line numberDiff line change
@@ -195,7 +195,32 @@ AIX improvements:
195195
Changes to the RISC-V Backend
196196
-----------------------------
197197

198-
* The Zvfh extension was added.
198+
* A RISCVRedundantCopyElimination pass was added to remove unnecessary zero
199+
copies.
200+
* A RISC-V specific CodeGenPrepare pass was added.
201+
* The machine outliner was enabled by default for RISC-V at ``-Oz``.
202+
Additionally, the newly introduced RISCVMakeCompressible pass will make
203+
modify instructions prior to emission at ``-Oz`` in order to increase
204+
opportunities for the compression with the RISC-V C extension.
205+
* Various bug fixes and improvements to code generation for the RISC-V vector
206+
extensions.
207+
* Various improvements were made to RISC-V specific optimisation passes such
208+
as RISCVSExtWRemoval and RISCVMergeBaseOffset.
209+
* llc now computes the target ABI based on the target architecture using the
210+
same logic as Clang if not explicit ABI is given.
211+
* ``generic`` is now recognized as a valid CPU name and is mapped to
212+
``generic-rv32`` or ``generic-rv64`` depending on the target triple.
213+
* Support for the experimental Zvfh extension was added, enabling
214+
half-precision floating point in vectors.
215+
* Support for the Zihintpause (Pause Hint) extension.
216+
* Assembler and disassembler support for the Zfinx and Zdinx (float / double
217+
in integer register) extensions.
218+
* Assembler and disassembler support for the Zicbom, Zicboz, and Zicbop cache
219+
management operation extensions.
220+
* Support for the Zmmul extension (a subextension of the M extension, adding
221+
multiplication instructions only).
222+
* Assembler and disassembler support for the hypervisor extension and for the
223+
Sinval supervisor memory-management extension.
199224

200225
Changes to the WebAssembly Backend
201226
----------------------------------

0 commit comments

Comments
 (0)