[llvm] [VPlan] Add VPPhiAccessors to provide interface for phi recipes (NFC) (PR #129388)

via llvm-commits llvm-commits at lists.llvm.org
Mon Apr 28 08:24:32 PDT 2025


================
@@ -3694,25 +3720,10 @@ void VPReductionPHIRecipe::print(raw_ostream &O, const Twine &Indent,
 }
 #endif
 
-VPBasicBlock *VPWidenPHIRecipe::getIncomingBlock(unsigned I) {
----------------
ayalz wrote:

Better keep delegating the implementation of `getIncomingBlock(Idx)` to recipes that inherit from `VPPhiAccessors`?

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


More information about the llvm-commits mailing list