[PATCH] D121940: [SLP] Support internal users of splat loads
    Vasileios Porpodas via Phabricator via llvm-commits 
    llvm-commits at lists.llvm.org
       
    Tue Apr 19 11:23:31 PDT 2022
    
    
  
vporpo added inline comments.
================
Comment at: llvm/lib/Transforms/Vectorize/SLPVectorizer.cpp:1176
+          // Retruns true if the users of V1 and V2 won't need to be extracted.
+          auto AllUsersAreInternal = [NumLanes, U1, U2, this](Value *V1,
+                                                              Value *V2) {
----------------
vdmitrie wrote:
> BTW NumLanes capture is not used in the lambda.
Yeah, it was breaking some builds, so I reverted it and recommitted the patch with the fix.
Repository:
  rG LLVM Github Monorepo
CHANGES SINCE LAST ACTION
  https://reviews.llvm.org/D121940/new/
https://reviews.llvm.org/D121940
    
    
More information about the llvm-commits
mailing list