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 45626c1 commit f43d6a7Copy full SHA for f43d6a7
llvm/lib/Transforms/Vectorize/LoopVectorize.cpp
@@ -8561,7 +8561,7 @@ static void addExitUsersForFirstOrderRecurrences(
8561
VPBuilder MiddleBuilder(MiddleVPBB, MiddleVPBB->getFirstNonPhi());
8562
8563
auto IsScalableOne = [](ElementCount VF) -> bool {
8564
- return VF.isScalable() && VF.getKnownMinValue() == 1;
+ return VF == ElementCount::getScalable(1);
8565
};
8566
8567
for (auto &HeaderPhi : VectorRegion->getEntryBasicBlock()->phis()) {
0 commit comments