[llvm] [LV] Incorporate trip counts into selection of scalable VFs (PR #80926)

Florian Hahn via llvm-commits llvm-commits at lists.llvm.org
Mon Mar 4 08:18:12 PST 2024


================
@@ -4933,11 +4933,17 @@ bool LoopVectorizationPlanner::isMoreProfitable(
       EstimatedWidthB *= *VScale;
   }
 
+  if (MaxTripCount > 0) {
----------------
fhahn wrote:

Could you add a comment here explaining what's done here?

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


More information about the llvm-commits mailing list