[llvm] [VPlan] Strip outdated comment in optimizeForVFAndUF (NFC) (PR #168068)

Ramkumar Ramachandra via llvm-commits llvm-commits at lists.llvm.org
Fri Nov 14 06:23:29 PST 2025


https://github.com/artagnon created https://github.com/llvm/llvm-project/pull/168068

None

>From 8524a85c3671ab6425454c0c64e488987716d838 Mon Sep 17 00:00:00 2001
From: Ramkumar Ramachandra <ramkumar.ramachandra at codasip.com>
Date: Fri, 14 Nov 2025 14:22:06 +0000
Subject: [PATCH] [VPlan] Strip outdated comment in optimizeForVFAndUF (NFC)

---
 llvm/lib/Transforms/Vectorize/VPlanTransforms.cpp | 3 ---
 1 file changed, 3 deletions(-)

diff --git a/llvm/lib/Transforms/Vectorize/VPlanTransforms.cpp b/llvm/lib/Transforms/Vectorize/VPlanTransforms.cpp
index 382521d090f4e..bee9bfaeda682 100644
--- a/llvm/lib/Transforms/Vectorize/VPlanTransforms.cpp
+++ b/llvm/lib/Transforms/Vectorize/VPlanTransforms.cpp
@@ -1898,9 +1898,6 @@ void VPlanTransforms::optimizeForVFAndUF(VPlan &Plan, ElementCount BestVF,
     Plan.setVF(BestVF);
     assert(Plan.getUF() == BestUF && "BestUF must match the Plan's UF");
   }
-  // TODO: Further simplifications are possible
-  //      1. Replace inductions with constants.
-  //      2. Replace vector loop region with VPBasicBlock.
 }
 
 /// Sink users of \p FOR after the recipe defining the previous value \p



More information about the llvm-commits mailing list