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

Florian Hahn via llvm-commits llvm-commits at lists.llvm.org
Thu Aug 15 04:49:35 PDT 2024


================
@@ -3282,6 +3287,8 @@ class VPlan {
   /// Represents the vector trip count.
   VPValue VectorTripCount;
 
+  VPValue VF;
----------------
fhahn wrote:

Added thanks!

VF may also be referenced outside the loop region, so probably should be defined at the top-level and used by the region?

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


More information about the llvm-commits mailing list