We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 9f77cd3 commit d7584a3Copy full SHA for d7584a3
llvm/lib/Transforms/Vectorize/LoopVectorize.cpp
@@ -1534,9 +1534,7 @@ class LoopVectorizationCostModel {
1534
TTI.hasActiveVectorLength(0, nullptr, Align()) &&
1535
!EnableVPlanNativePath &&
1536
// FIXME: implement support for max safe dependency distance.
1537
- Legal->isSafeForAnyVectorWidth() &&
1538
- // FIXME: remove this once reductions are supported.
1539
- Legal->getReductionVars().empty();
+ Legal->isSafeForAnyVectorWidth();
1540
if (!EVLIsLegal) {
1541
// If for some reason EVL mode is unsupported, fallback to
1542
// DataWithoutLaneMask to try to vectorize the loop with folded tail
0 commit comments