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