[llvm] [VPlan] Add VPValue for VF, use it for VPWidenIntOrFpInductionRecipe. (PR #95305)

Florian Hahn via llvm-commits llvm-commits at lists.llvm.org
Fri Sep 6 03:58:10 PDT 2024


================
@@ -3408,6 +3416,9 @@ class VPlan {
   /// The vector trip count.
   VPValue &getVectorTripCount() { return VectorTripCount; }
 
+  /// Returns the VF of the vector loop region.
----------------
fhahn wrote:

Adjusted to return by reference, thanks!

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


More information about the llvm-commits mailing list