[llvm] [VPlan] Strip stale comment for SCEVToExpansion (NFC) (PR #164288)

Ramkumar Ramachandra via llvm-commits llvm-commits at lists.llvm.org
Mon Oct 20 10:36:37 PDT 2025


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

ExpandSCEV recipes are expanded late, and SCEVToExpansion is just a cache that is not scheduled for removal.

>From 5782e48b574611689ffc3aad420b9af0d9eb642d Mon Sep 17 00:00:00 2001
From: Ramkumar Ramachandra <ramkumar.ramachandra at codasip.com>
Date: Mon, 20 Oct 2025 18:34:30 +0100
Subject: [PATCH] [VPlan] Strip stale comment for SCEVToExpansion (NFC)

ExpandSCEV recipes are expanded late, and SCEVToExpansion is just a
cache that is not scheduled for removal.
---
 llvm/lib/Transforms/Vectorize/VPlan.h | 2 --
 1 file changed, 2 deletions(-)

diff --git a/llvm/lib/Transforms/Vectorize/VPlan.h b/llvm/lib/Transforms/Vectorize/VPlan.h
index fed04eb1cbe9f..2eeaee712690a 100644
--- a/llvm/lib/Transforms/Vectorize/VPlan.h
+++ b/llvm/lib/Transforms/Vectorize/VPlan.h
@@ -4164,8 +4164,6 @@ class VPlan {
   SmallVector<VPValue *, 16> VPLiveIns;
 
   /// Mapping from SCEVs to the VPValues representing their expansions.
-  /// NOTE: This mapping is temporary and will be removed once all users have
-  /// been modeled in VPlan directly.
   DenseMap<const SCEV *, VPValue *> SCEVToExpansion;
 
   /// Blocks allocated and owned by the VPlan. They will be deleted once the



More information about the llvm-commits mailing list