[llvm] [RISCV] Add a release note about tail folding being enabled. NFC (PR #153535)
Luke Lau via llvm-commits
llvm-commits at lists.llvm.org
Wed Aug 13 22:43:25 PDT 2025
https://github.com/lukel97 created https://github.com/llvm/llvm-project/pull/153535
It's probably useful for users to know how to get the old scalar epilogue back if they need it.
>From 6b13fccda2f9444a1fa7596564ccc845130ad975 Mon Sep 17 00:00:00 2001
From: Luke Lau <luke at igalia.com>
Date: Thu, 14 Aug 2025 13:41:35 +0800
Subject: [PATCH] [RISCV] Add a release note about tail folding being enabled.
NFC
It's probably useful for users to know how to get the old scalar epilogue back if they need it.
---
llvm/docs/ReleaseNotes.md | 3 +++
1 file changed, 3 insertions(+)
diff --git a/llvm/docs/ReleaseNotes.md b/llvm/docs/ReleaseNotes.md
index 88b7e6d6585f7..f3ef70a01375c 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 `-mllvm -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