[VPlan] Remove unused Phi member from VPWidenPHIRecipe (NFC).
authorFlorian Hahn <flo@fhahn.com>
Tue, 16 Feb 2021 13:46:01 +0000 (13:46 +0000)
committerFlorian Hahn <flo@fhahn.com>
Tue, 16 Feb 2021 13:53:06 +0000 (13:53 +0000)
The member is not needed any longer after recent changes.

llvm/lib/Transforms/Vectorize/VPlan.h

index 9b93331..9a55f1c 100644 (file)
@@ -1041,8 +1041,6 @@ public:
 /// For reduction PHIs, RdxDesc must point to the corresponding recurrence
 /// descriptor and the start value is the first operand of the recipe.
 class VPWidenPHIRecipe : public VPRecipeBase, public VPValue {
-  PHINode *Phi;
-
   /// Descriptor for a reduction PHI.
   RecurrenceDescriptor *RdxDesc = nullptr;
 
@@ -1058,7 +1056,7 @@ public:
   /// Create a VPWidenPHIRecipe for \p Phi
   VPWidenPHIRecipe(PHINode *Phi)
       : VPRecipeBase(VPWidenPHISC, {}),
-        VPValue(VPValue::VPVWidenPHISC, Phi, this), Phi(Phi) {}
+        VPValue(VPValue::VPVWidenPHISC, Phi, this) {}
   ~VPWidenPHIRecipe() override = default;
 
   /// Method to support type inquiry through isa, cast, and dyn_cast.