[llvm] [VPlan] Simplify branch on False in VPlan transform (NFC). (PR #140409)

via llvm-commits llvm-commits at lists.llvm.org
Thu May 29 14:14:33 PDT 2025


================
@@ -1127,6 +1122,10 @@ class VPPhiAccessors {
     return getAsRecipe()->getNumOperands();
   }
 
+  /// Removes the incoming value corresponding to \p IncomingBlock, which must
+  /// be a predecessor.
+  void removeIncomingValue(VPBlockBase *IncomingBlock) const;
----------------
ayalz wrote:

```suggestion
  void removeIncomingValueFor(VPBlockBase *IncomingBlock) const;
```
?

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


More information about the llvm-commits mailing list