[llvm] [VPlan] Expand VPWidenPointerInductionRecipe into separate recipes (PR #148274)

Florian Hahn via llvm-commits llvm-commits at lists.llvm.org
Sun Jul 27 02:32:52 PDT 2025


================
@@ -873,7 +873,7 @@ struct VPRecipeWithIRFlags : public VPSingleDefRecipe, public VPIRFlags {
 /// Helper to access the operand that contains the unroll part for this recipe
 /// after unrolling.
 template <unsigned PartOpIdx> class LLVM_ABI_FOR_TEST VPUnrollPartAccessor {
-protected:
+public:
----------------
fhahn wrote:

Hm, I think it would be better to only expose this detail when really needed, i.e. not make it public here (which applies to all sub-classes), but expose it in the sub-classes as needed.

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


More information about the llvm-commits mailing list