[llvm] [RISCV][LoopVectorize] Use DataWithEVL as the preferred tail folding style (PR #148686)
Alexey Bataev via llvm-commits
llvm-commits at lists.llvm.org
Mon Jul 14 11:09:15 PDT 2025
================
@@ -116,8 +116,7 @@ class RISCVTTIImpl final : public BasicTTIImplBase<RISCVTTIImpl> {
}
TailFoldingStyle
getPreferredTailFoldingStyle(bool IVUpdateMayOverflow) const override {
- return ST->hasVInstructions() ? TailFoldingStyle::Data
- : TailFoldingStyle::DataWithoutLaneMask;
+ return TailFoldingStyle::DataWithEVL;
----------------
alexey-bataev wrote:
Just None maybe, say,for P extensions?
https://github.com/llvm/llvm-project/pull/148686
More information about the llvm-commits
mailing list