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 333ee93 commit e6e3f94Copy full SHA for e6e3f94
llvm/lib/Transforms/Vectorize/VPlanUnroll.cpp
@@ -383,6 +383,7 @@ void UnrollState::unrollBlock(VPBlockBase *VPB) {
383
continue;
384
}
385
386
+ // For vector VF, the penultimate element is always extracted from the last part.
387
if (match(&R, m_ExtractLastLaneOfLastPart(m_VPValue(Op0))) ||
388
match(&R, m_ExtractPenultimateElement(m_VPValue(Op0)))) {
389
addUniformForAllParts(cast<VPSingleDefRecipe>(&R));
0 commit comments