[llvm] 76effb0 - [LV] Remove obsolete comment about creating a dummy block (NFC)

Florian Hahn via llvm-commits llvm-commits at lists.llvm.org
Fri Nov 19 09:17:20 PST 2021


Author: Florian Hahn
Date: 2021-11-19T17:17:04Z
New Revision: 76effb001d3309e399975c2bd4403a908f8866ca

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

LOG: [LV] Remove obsolete comment about creating a dummy block (NFC)

No dummy pre-entry block is created since a6c4969f5f45. The comment is
stale now and can be removed.

Mentioned by @Ayal in D113182.

Added: 
    

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

Removed: 
    


################################################################################
diff  --git a/llvm/lib/Transforms/Vectorize/LoopVectorize.cpp b/llvm/lib/Transforms/Vectorize/LoopVectorize.cpp
index 07d0001bc045d..23bb6f0860c9f 100644
--- a/llvm/lib/Transforms/Vectorize/LoopVectorize.cpp
+++ b/llvm/lib/Transforms/Vectorize/LoopVectorize.cpp
@@ -9336,7 +9336,6 @@ VPlanPtr LoopVectorizationPlanner::buildVPlanWithVPRecipes(
   // visit each basic block after having visited its predecessor basic blocks.
   // ---------------------------------------------------------------------------
 
-  // Create a dummy pre-entry VPBasicBlock to start building the VPlan.
   auto Plan = std::make_unique<VPlan>();
 
   // Scan the body of the loop in a topological order to visit each basic block


        


More information about the llvm-commits mailing list