[llvm] 5088795 - [LV] Remove unused ILV::VectorTripCount (NFC).

Florian Hahn via llvm-commits llvm-commits at lists.llvm.org
Tue Aug 26 11:02:03 PDT 2025


Author: Florian Hahn
Date: 2025-08-26T19:01:51+01:00
New Revision: 5088795994aa36482dbbc766b2f4e7ad97dbd8d5

URL: https://github.com/llvm/llvm-project/commit/5088795994aa36482dbbc766b2f4e7ad97dbd8d5
DIFF: https://github.com/llvm/llvm-project/commit/5088795994aa36482dbbc766b2f4e7ad97dbd8d5.diff

LOG: [LV] Remove unused ILV::VectorTripCount (NFC).

The field is no longer used, remove it.

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 98554310c74df..179c13c1c9fd8 100644
--- a/llvm/lib/Transforms/Vectorize/LoopVectorize.cpp
+++ b/llvm/lib/Transforms/Vectorize/LoopVectorize.cpp
@@ -599,9 +599,6 @@ class InnerLoopVectorizer {
   /// Trip count of the original loop.
   Value *TripCount = nullptr;
 
-  /// Trip count of the widened loop (TripCount - TripCount % (VF*UF))
-  Value *VectorTripCount = nullptr;
-
   /// The profitablity analysis.
   LoopVectorizationCostModel *Cost;
 


        


More information about the llvm-commits mailing list