[llvm] 1761b80 - [RISCV] Add a release note about tail folding being enabled. NFC (#153535)

via llvm-commits llvm-commits at lists.llvm.org
Thu Aug 14 20:53:47 PDT 2025


Author: Luke Lau
Date: 2025-08-15T03:53:44Z
New Revision: 1761b80a4aa19829e37a2b81e7b891c1dfa31f10

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

LOG: [RISCV] Add a release note about tail folding being enabled. NFC (#153535)

It's probably useful for users to know how to get the old scalar
epilogue back if they need it.

Added: 
    

Modified: 
    llvm/docs/ReleaseNotes.md

Removed: 
    


################################################################################
diff  --git a/llvm/docs/ReleaseNotes.md b/llvm/docs/ReleaseNotes.md
index 88b7e6d6585f7..01efeae63c499 100644
--- a/llvm/docs/ReleaseNotes.md
+++ b/llvm/docs/ReleaseNotes.md
@@ -109,6 +109,9 @@ Changes to the PowerPC Backend
 Changes to the RISC-V Backend
 -----------------------------
 
+* The loop vectorizer now performs tail folding by default on RISC-V, which
+  removes the need for a scalar epilogue loop. To restore the previous behaviour
+  use `-prefer-predicate-over-epilogue=scalar-epilogue`.
 * `llvm-objdump` now has basic support for switching between disassembling code
   and data using mapping symbols such as `$x` and `$d`. Switching architectures
   using `$x` with an architecture string suffix is not yet supported.


        


More information about the llvm-commits mailing list