[llvm] bbcbf21 - [VPlan] Add destructor to VPReductionRecipe to unbreak build.

Florian Hahn via llvm-commits llvm-commits at lists.llvm.org
Tue Jul 6 03:41:36 PDT 2021


Author: Florian Hahn
Date: 2021-07-06T11:41:20+01:00
New Revision: bbcbf21ae60c928e07dde6a1c468763b3209d1e6

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

LOG: [VPlan] Add destructor to VPReductionRecipe to unbreak build.

Attempt to unbreak
https://lab.llvm.org/buildbot/#/builders/67/builds/3363/steps/6/logs/stdio

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 3f5f066ac27b..d92ea16ad058 100644
--- a/llvm/lib/Transforms/Vectorize/VPlan.h
+++ b/llvm/lib/Transforms/Vectorize/VPlan.h
@@ -1144,6 +1144,8 @@ class VPReductionPHIRecipe : public VPWidenPHIRecipe {
     addOperand(&Start);
   }
 
+  ~VPReductionPHIRecipe() override = default;
+
   /// Method to support type inquiry through isa, cast, and dyn_cast.
   static inline bool classof(const VPRecipeBase *R) {
     return R->getVPDefID() == VPRecipeBase::VPReductionPHISC;


        


More information about the llvm-commits mailing list