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

Florian Hahn via llvm-commits llvm-commits at lists.llvm.org
Thu Dec 5 14:56:40 PST 2024


================
@@ -570,11 +586,10 @@ class InnerLoopVectorizer {
   /// in the scalar epilogue, from where the vectorized loop left off.
   /// In cases where the loop skeleton is more complicated (eg. epilogue
   /// vectorization) and the resume values can come from an additional bypass
-  /// block, the \p AdditionalBypass pair provides information about the bypass
-  /// block and the end value on the edge from bypass to this loop.
-  void createInductionResumeValues(
-      const SCEV2ValueTy &ExpandedSCEVs,
-      std::pair<BasicBlock *, Value *> AdditionalBypass = {nullptr, nullptr});
+  /// block, the \p AdditionalBypassValue provides the end value on the edge
+  /// from bypass to this loop.
+  void createInductionResumeVPValues(const SCEV2ValueTy &ExpandedSCEVs,
+                                     Value *AdditionalBypassValue = nullptr);
----------------
fhahn wrote:

Done, thanks

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


More information about the llvm-commits mailing list