[llvm] [SLP]Support revectorization of the previously vectorized scalars (PR #133091)
    Alexey Bataev via llvm-commits 
    llvm-commits at lists.llvm.org
       
    Thu Mar 27 07:05:07 PDT 2025
    
    
  
================
@@ -7553,7 +7550,7 @@ void BoUpSLP::buildExternalUses(
           // Some in-tree scalars will remain as scalar in vectorized
           // instructions. If that is the case, the one in FoundLane will
           // be used.
-          if (any_of(UseEntries, [&](TreeEntry *UseEntry) {
+          if (all_of(UseEntries, [&](TreeEntry *UseEntry) {
----------------
alexey-bataev wrote:
Yes, stil lcorrect. It is not related to the schedk itself, just describes common logic, which is not changed. Just before UseEntries could be only one, now there might be multiple UseEntries
https://github.com/llvm/llvm-project/pull/133091
    
    
More information about the llvm-commits
mailing list