[llvm] [VPlan] Verify dominance for incoming values of phi-like recipes. (PR #124838)

David Sherwood via llvm-commits llvm-commits at lists.llvm.org
Mon May 12 01:37:14 PDT 2025


================
@@ -1135,7 +1135,14 @@ class VPPhiAccessors {
   const VPBasicBlock *getIncomingBlock(unsigned Idx) const;
 
   /// Returns the number of incoming values, also number of incoming blocks.
-  unsigned getNumIncoming() const { return getAsRecipe()->getNumOperands(); }
+  /// Note that at the moment, VPWidenIntOrFpInductionRecipes only have a single
----------------
david-arm wrote:

Looks like this still includes bits of https://github.com/llvm/llvm-project/pull/138472, which looks like it hasn't landed yet?

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


More information about the llvm-commits mailing list