[llvm] 0b01320 - [VPlan] Remove unused VPTransformState::CanonicalIV (NFCI).

Florian Hahn via llvm-commits llvm-commits at lists.llvm.org
Fri Feb 23 08:54:55 PST 2024


Author: Florian Hahn
Date: 2024-02-23T16:54:30Z
New Revision: 0b01320d28235ff54a98681414c7dd6024d348a7

URL: https://github.com/llvm/llvm-project/commit/0b01320d28235ff54a98681414c7dd6024d348a7
DIFF: https://github.com/llvm/llvm-project/commit/0b01320d28235ff54a98681414c7dd6024d348a7.diff

LOG: [VPlan] Remove unused VPTransformState::CanonicalIV (NFCI).

Clean up unused member variable.

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 240d4bd628b056..a2a203c4200510 100644
--- a/llvm/lib/Transforms/Vectorize/VPlan.h
+++ b/llvm/lib/Transforms/Vectorize/VPlan.h
@@ -385,9 +385,6 @@ struct VPTransformState {
 
   VPValue2ValueTy VPValue2Value;
 
-  /// Hold the canonical scalar IV of the vector loop (start=0, step=VF*UF).
-  Value *CanonicalIV = nullptr;
-
   /// Hold a pointer to InnerLoopVectorizer to reuse its IR generation methods.
   InnerLoopVectorizer *ILV;
 


        


More information about the llvm-commits mailing list