[llvm] d3c7f23 - [VPlan] Remove unused VPlan friend declaration from VPValue (NFC)
Florian Hahn via llvm-commits
llvm-commits at lists.llvm.org
Sat Mar 21 13:37:25 PDT 2026
Author: Florian Hahn
Date: 2026-03-21T20:37:05Z
New Revision: d3c7f23d2f3fee7209f84ca7da5411868d656995
URL: https://github.com/llvm/llvm-project/commit/d3c7f23d2f3fee7209f84ca7da5411868d656995
DIFF: https://github.com/llvm/llvm-project/commit/d3c7f23d2f3fee7209f84ca7da5411868d656995.diff
LOG: [VPlan] Remove unused VPlan friend declaration from VPValue (NFC)
VPlan only accesses VPValue through public APIs (getUnderlyingValue(),
etc.), so the friend declaration is unnecessary.
Added:
Modified:
llvm/lib/Transforms/Vectorize/VPlanValue.h
Removed:
################################################################################
diff --git a/llvm/lib/Transforms/Vectorize/VPlanValue.h b/llvm/lib/Transforms/Vectorize/VPlanValue.h
index 56e512849cb08..d4adae4622860 100644
--- a/llvm/lib/Transforms/Vectorize/VPlanValue.h
+++ b/llvm/lib/Transforms/Vectorize/VPlanValue.h
@@ -44,7 +44,6 @@ class VPPhiAccessors;
/// data flow into, within and out of the VPlan. VPValues can stand for live-ins
/// coming from the input IR, symbolic values and values defined by recipes.
class LLVM_ABI_FOR_TEST VPValue {
- friend class VPlan;
friend struct VPIRValue;
friend struct VPSymbolicValue;
friend class VPRecipeValue;
More information about the llvm-commits
mailing list