[llvm] f64c626 - [VPlan] Remove unused Phi member from VPWidenPHIRecipe (NFC).

Florian Hahn via llvm-commits llvm-commits at lists.llvm.org
Tue Feb 16 05:53:20 PST 2021


Author: Florian Hahn
Date: 2021-02-16T13:53:06Z
New Revision: f64c6260690e57e138468edb6934de036baef29c

URL: https://github.com/llvm/llvm-project/commit/f64c6260690e57e138468edb6934de036baef29c
DIFF: https://github.com/llvm/llvm-project/commit/f64c6260690e57e138468edb6934de036baef29c.diff

LOG: [VPlan] Remove unused Phi member from VPWidenPHIRecipe (NFC).

The member is not needed any longer after recent changes.

Added: 
    

Modified: 
    llvm/lib/Transforms/Vectorize/VPlan.h

Removed: 
    


################################################################################
diff  --git a/llvm/lib/Transforms/Vectorize/VPlan.h b/llvm/lib/Transforms/Vectorize/VPlan.h
index 9b93331e494a..9a55f1c2555a 100644
--- a/llvm/lib/Transforms/Vectorize/VPlan.h
+++ b/llvm/lib/Transforms/Vectorize/VPlan.h
@@ -1041,8 +1041,6 @@ class VPWidenIntOrFpInductionRecipe : public VPRecipeBase {
 /// 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 @@ class VPWidenPHIRecipe : public VPRecipeBase, public VPValue {
   /// 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.


        


More information about the llvm-commits mailing list