File tree Expand file tree Collapse file tree 1 file changed +0
-18
lines changed
llvm/lib/Transforms/Vectorize Expand file tree Collapse file tree 1 file changed +0
-18
lines changed Original file line number Diff line number Diff line change @@ -264,24 +264,6 @@ void UnrollState::unrollRecipeByUF(VPRecipeBase &R) {
264264 return ;
265265
266266 if (auto *VPI = dyn_cast<VPInstruction>(&R)) {
267- VPValue *Op0, *Op1;
268- if (match (VPI, m_VPInstruction<VPInstruction::ExtractFromEnd>(
269- m_VPValue (Op0), m_VPValue (Op1)))) {
270- VPI->setOperand (1 , getValueForPart (Op1, UF - 1 ));
271- addUniformForAllParts (VPI);
272- if (Plan.hasScalarVFOnly ()) {
273- // Extracting from end with VF = 1 implies retrieving the scalar part UF
274- // - Op1.
275- unsigned Offset =
276- cast<ConstantInt>(Op1->getLiveInIRValue ())->getZExtValue ();
277- VPI->replaceAllUsesWith (getValueForPart (Op0, UF - Offset));
278- } else {
279- // Otherwise we extract from the last part.
280- remapOperands (VPI, UF - 1 );
281- }
282- return ;
283- }
284-
285267 if (vputils::onlyFirstPartUsed (VPI)) {
286268 addUniformForAllParts (VPI);
287269 return ;
You can’t perform that action at this time.
0 commit comments