[llvm] d0a32b0 - [doc][LoongArch] Add missed release note about `ual` feature addition

Weining Lu via llvm-commits llvm-commits at lists.llvm.org
Sun Jun 25 19:38:14 PDT 2023


Author: Weining Lu
Date: 2023-06-26T10:37:29+08:00
New Revision: d0a32b0273b9e5d881417cc668e944e35e55c845

URL: https://github.com/llvm/llvm-project/commit/d0a32b0273b9e5d881417cc668e944e35e55c845
DIFF: https://github.com/llvm/llvm-project/commit/d0a32b0273b9e5d881417cc668e944e35e55c845.diff

LOG: [doc][LoongArch] Add missed release note about `ual` feature addition

I meant to fold this into 47601815ec3a4f31c797c75748af08acfabc46dc
but failed to do so.

Reviewed By: MaskRay

Differential Revision: https://reviews.llvm.org/D152671

Added: 
    

Modified: 
    clang/docs/ReleaseNotes.rst
    llvm/docs/ReleaseNotes.rst

Removed: 
    


################################################################################
diff  --git a/clang/docs/ReleaseNotes.rst b/clang/docs/ReleaseNotes.rst
index 13c587228bb1e..da2e7ac47553e 100644
--- a/clang/docs/ReleaseNotes.rst
+++ b/clang/docs/ReleaseNotes.rst
@@ -682,6 +682,8 @@ LoongArch Support
 
 - Patchable function entry (``-fpatchable-function-entry``) is now supported
   on LoongArch.
+- Unaligned memory accesses can be toggled by ``-m[no-]unaligned-access`` or the
+  aliases ``-m[no-]strict-align``.
 
 RISC-V Support
 ^^^^^^^^^^^^^^

diff  --git a/llvm/docs/ReleaseNotes.rst b/llvm/docs/ReleaseNotes.rst
index 6efc991ff509e..3e070b2ebdfa1 100644
--- a/llvm/docs/ReleaseNotes.rst
+++ b/llvm/docs/ReleaseNotes.rst
@@ -173,6 +173,8 @@ Changes to the LoongArch Backend
 --------------------------------
 
 * The ``lp64s`` ABI is supported now and has been tested on Rust bare-matal target.
+* A target feature ``ual`` is introduced to allow unaligned memory accesses and
+  this feature is enabled by default for generic 64-bit processors.
 
 Changes to the MIPS Backend
 ---------------------------


        


More information about the llvm-commits mailing list