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

via llvm-commits llvm-commits at lists.llvm.org
Thu May 29 05:37:37 PDT 2025


================
@@ -199,8 +200,12 @@ raw_ostream &operator<<(raw_ostream &OS, const VPRecipeBase &R);
 /// This class augments VPValue with operands which provide the inverse def-use
 /// edges from VPValue's users to their defs.
 class VPUser {
+  friend class VPPhiAccessors;
----------------
ayalz wrote:

Why/is this befriending needed?

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


More information about the llvm-commits mailing list