[llvm] [VPlan] Update scalar induction resume values in VPlan. (PR #110577)

via llvm-commits llvm-commits at lists.llvm.org
Thu Nov 14 16:05:14 PST 2024


================
@@ -667,6 +673,9 @@ class InnerLoopVectorizer {
   /// for cleaning the checks, if vectorization turns out unprofitable.
   GeneratedRTChecks &RTChecks;
 
+  /// Mapping of induction phis to their bypass values and bypass blocks.
+  DenseMap<PHINode *, std::pair<BasicBlock *, Value *>> InductionBypassValues;
+
----------------
ayalz wrote:

This is needed only for "additional" bypasses. Is there a way to avoid storing this mapping?

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


More information about the llvm-commits mailing list