[llvm] LV]: consider scalable VF during deciding dead epilogue. (PR #156724)
Hassnaa Hamdi via llvm-commits
llvm-commits at lists.llvm.org
Mon Nov 10 06:28:53 PST 2025
================
@@ -4407,6 +4407,13 @@ VectorizationFactor LoopVectorizationPlanner::selectEpilogueVectorizationFactor(
LLVM_DEBUG(dbgs() << "LEV: Maximum Trip Count for Epilogue: "
<< MaxTripCount << "\n");
}
+ // Check if the RemainingIterations is scalable.
----------------
hassnaaHamdi wrote:
Given that the case of scale-based TC is not common , I think it's better to proceed with this code, and then in further patches we do the needed changes to SCEV.
https://github.com/llvm/llvm-project/pull/156724
More information about the llvm-commits
mailing list