[llvm] [SLP] Use named structs in vectorizeStores() (NFC) (PR #132781)
    Alexey Bataev via llvm-commits 
    llvm-commits at lists.llvm.org
       
    Mon Mar 24 10:28:37 PDT 2025
    
    
  
================
@@ -19923,31 +19923,51 @@ bool SLPVectorizerPass::vectorizeStores(
   BoUpSLP::ValueSet VectorizedStores;
   bool Changed = false;
 
+  /// A store instruction and the distance of its address to a base pointer.
+  struct CandidateInstr {
----------------
alexey-bataev wrote:
`StoreInstIndexAndDistance`?
https://github.com/llvm/llvm-project/pull/132781
    
    
More information about the llvm-commits
mailing list