[llvm] [VPlan] Constant-fold ActiveLaneMask intrinsics (PR #208852)

Florian Hahn via llvm-commits llvm-commits at lists.llvm.org
Thu Aug 20 08:53:59 PDT 2026


================
@@ -300,15 +300,17 @@ ElementCount VFSelectionContext::getMaximizedVFForTarget(
   return MaxVF;
 }
 
+std::optional<unsigned> llvm::getMaxVScale(const Function &F) {
----------------
fhahn wrote:

may also be worth documenting the difference and when either should be used (the variant taking TTI should only be used for cost estimates IIUC?)

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


More information about the llvm-commits mailing list