[llvm] [VPlan] Remove VPVectorPointer for part 0 after unrolling. (PR #149735)

Florian Hahn via llvm-commits llvm-commits at lists.llvm.org
Fri Jul 25 03:12:32 PDT 2025


================
@@ -1835,6 +1835,8 @@ class VPVectorPointerRecipe : public VPRecipeWithIRFlags,
                                      getGEPNoWrapFlags(), getDebugLoc());
   }
 
+  bool isPart0() { return getUnrollPart(*this) == 0; }
----------------
fhahn wrote:

Marked const and adjusted name, thanks. Also added a comment

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


More information about the llvm-commits mailing list