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