[llvm] 44b1767 - [VPlan] Remove stale comment from VPTransformState::get (NFC)

Florian Hahn via llvm-commits llvm-commits at lists.llvm.org
Mon Feb 19 14:12:02 PST 2024


Author: Florian Hahn
Date: 2024-02-19T22:11:51Z
New Revision: 44b17679e354d2f23b8843589629573b3900119f

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

LOG: [VPlan] Remove stale comment from VPTransformState::get (NFC)

All values accessed via get are now part of VPTransformState, the ILV
reference in the comment has been removed a long time ago. Remove the
stale comment.

Added: 
    

Modified: 
    llvm/lib/Transforms/Vectorize/VPlan.h

Removed: 
    


################################################################################
diff  --git a/llvm/lib/Transforms/Vectorize/VPlan.h b/llvm/lib/Transforms/Vectorize/VPlan.h
index 42e3b4a003511b..4f25059349fd05 100644
--- a/llvm/lib/Transforms/Vectorize/VPlan.h
+++ b/llvm/lib/Transforms/Vectorize/VPlan.h
@@ -261,10 +261,7 @@ struct VPTransformState {
     DenseMap<VPValue *, ScalarsPerPartValuesTy> PerPartScalars;
   } Data;
 
-  /// Get the generated Value for a given VPValue and a given Part. Note that
-  /// as some Defs are still created by ILV and managed in its ValueMap, this
-  /// method will delegate the call to ILV in such cases in order to provide
-  /// callers a consistent API.
+  /// Get the generated Value for the given VPValue \p Def and the given \p Part.
   /// \see set.
   Value *get(VPValue *Def, unsigned Part);
 


        


More information about the llvm-commits mailing list