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

Mel Chen via llvm-commits llvm-commits at lists.llvm.org
Mon Jul 21 01:26:14 PDT 2025


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

nit: isFirstPart() or isZeroPart()

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


More information about the llvm-commits mailing list