[llvm] [VPlan] Remove ExtractLastLane for plans with scalar VFs. (PR #171145)

Florian Hahn via llvm-commits llvm-commits at lists.llvm.org
Fri Dec 12 13:52:17 PST 2025


================
@@ -383,7 +382,10 @@ void UnrollState::unrollBlock(VPBlockBase *VPB) {
         I->replaceAllUsesWith(getValueForPart(Op0, PartIdx));
         continue;
       }
-      // For vector VF, always extract from the last part.
----------------
fhahn wrote:

Thanks, re-added in e6e3f94b5c61f509a92715d36ffff7b3af9e38cd

https://github.com/llvm/llvm-project/pull/171145


More information about the llvm-commits mailing list