[llvm] [LV][EVL] Disable fixed-order recurrence idiom with EVL tail folding. (PR #122458)
via llvm-commits
llvm-commits at lists.llvm.org
Fri Jan 17 01:14:52 PST 2025
================
@@ -1447,9 +1447,11 @@ class LoopVectorizationCostModel {
// Override forced styles if needed.
// FIXME: use actual opcode/data type for analysis here.
// FIXME: Investigate opportunity for fixed vector factor.
- bool EVLIsLegal = UserIC <= 1 &&
- TTI.hasActiveVectorLength(0, nullptr, Align()) &&
- !EnableVPlanNativePath;
+ bool EVLIsLegal =
+ UserIC <= 1 && TTI.hasActiveVectorLength(0, nullptr, Align()) &&
+ !EnableVPlanNativePath &&
+ // FIXME: remove this once fixed-ordered recurrence is supported.
----------------
ayalz wrote:
```
// FIXME: support FORs by fixing splice of non VFxUF penultimate EVL.
bool EVLIsLegal =
UserIC <= 1 && TTI.hasActiveVectorLength(0, nullptr, Align()) &&
!EnableVPlanNativePath &&
```
Better placed among other FIXME's?
https://github.com/llvm/llvm-project/pull/122458
More information about the llvm-commits
mailing list