[llvm] 01b9828 - [VPlan] Remove unneeded friend classes from VPValue (NFC).
Florian Hahn via llvm-commits
llvm-commits at lists.llvm.org
Thu Jun 5 13:40:40 PDT 2025
Author: Florian Hahn
Date: 2025-06-05T21:40:21+01:00
New Revision: 01b9828a66fec1fa3257c1d054a7ee50717c6eaf
URL: https://github.com/llvm/llvm-project/commit/01b9828a66fec1fa3257c1d054a7ee50717c6eaf
DIFF: https://github.com/llvm/llvm-project/commit/01b9828a66fec1fa3257c1d054a7ee50717c6eaf.diff
LOG: [VPlan] Remove unneeded friend classes from VPValue (NFC).
None of the removed classes makes use of the friendship relationship.
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 ad347ed6f50f8..a0d3dc9b934cc 100644
--- a/llvm/lib/Transforms/Vectorize/VPlanValue.h
+++ b/llvm/lib/Transforms/Vectorize/VPlanValue.h
@@ -45,16 +45,9 @@ class VPPhiAccessors;
// coming from the input IR and instructions which VPlan will generate if
// executed.
class VPValue {
- friend class VPBuilder;
friend class VPDef;
friend struct VPDoubleValueDef;
- friend class VPInstruction;
friend class VPInterleaveRecipe;
- friend struct VPlanTransforms;
- friend class VPBasicBlock;
- friend class VPInterleavedAccessInfo;
- friend class VPSlotTracker;
- friend class VPRecipeBase;
friend class VPlan;
const unsigned char SubclassID; ///< Subclass identifier (for isa/dyn_cast).
More information about the llvm-commits
mailing list