[llvm] bf279a0 - [VPlan] Remove dangling comment and newlines (NFC).

Florian Hahn via llvm-commits llvm-commits at lists.llvm.org
Thu May 11 14:07:07 PDT 2023


Author: Florian Hahn
Date: 2023-05-11T22:06:56+01:00
New Revision: bf279a0f8ec907b71075da3ceda4ec4841d05d90

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

LOG: [VPlan] Remove dangling comment and newlines (NFC).

Apply missed cleanups.

Added: 
    

Modified: 
    llvm/lib/Transforms/Vectorize/LoopVectorizationPlanner.h
    llvm/lib/Transforms/Vectorize/LoopVectorize.cpp

Removed: 
    


################################################################################
diff  --git a/llvm/lib/Transforms/Vectorize/LoopVectorizationPlanner.h b/llvm/lib/Transforms/Vectorize/LoopVectorizationPlanner.h
index b36cb5ffc78f..50f5334cf562 100644
--- a/llvm/lib/Transforms/Vectorize/LoopVectorizationPlanner.h
+++ b/llvm/lib/Transforms/Vectorize/LoopVectorizationPlanner.h
@@ -314,8 +314,7 @@ class LoopVectorizationPlanner {
   /// \p ExpandedSCEVs is passed during execution of the plan for epilogue loop
   /// to re-use expansion results generated during main plan execution. Returns
   /// a mapping of SCEVs to their expanded IR values. Note that this is a
-  /// temporary workaround needed due to the current epilogue handling
-  /// workaround needed due to the current epilogue handling.
+  /// temporary workaround needed due to the current epilogue handling.
   DenseMap<const SCEV *, Value *>
   executePlan(ElementCount VF, unsigned UF, VPlan &BestPlan,
               InnerLoopVectorizer &LB, DominatorTree *DT,

diff  --git a/llvm/lib/Transforms/Vectorize/LoopVectorize.cpp b/llvm/lib/Transforms/Vectorize/LoopVectorize.cpp
index 2f44f1c73bb9..c619c523700a 100644
--- a/llvm/lib/Transforms/Vectorize/LoopVectorize.cpp
+++ b/llvm/lib/Transforms/Vectorize/LoopVectorize.cpp
@@ -842,9 +842,7 @@ class InnerLoopAndEpilogueVectorizer : public InnerLoopVectorizer {
   // Override this function to handle the more complex control flow around the
   // three loops.
   std::pair<BasicBlock *, Value *> createVectorizedLoopSkeleton(
-
       const SCEV2ValueTy &ExpandedSCEVs) final {
-
     return createEpilogueVectorizedLoopSkeleton(ExpandedSCEVs);
   }
 


        


More information about the llvm-commits mailing list