summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorFlorian Hahn <flo@fhahn.com>2021-11-19 17:17:03 +0000
committerFlorian Hahn <flo@fhahn.com>2021-11-19 17:17:04 +0000
commit76effb001d3309e399975c2bd4403a908f8866ca (patch)
tree69bb058acd5474d395d5d6ad1a66702cf916d6f8
parentf849640a0c6c628da398d4d390f6695d318e976d (diff)
downloadllvm-76effb001d3309e399975c2bd4403a908f8866ca.tar.gz
[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.
-rw-r--r--llvm/lib/Transforms/Vectorize/LoopVectorize.cpp1
1 files changed, 0 insertions, 1 deletions
diff --git a/llvm/lib/Transforms/Vectorize/LoopVectorize.cpp b/llvm/lib/Transforms/Vectorize/LoopVectorize.cpp
index 07d0001bc045..23bb6f0860c9 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