[PATCH] D28907: [SLP] Fix for PR30787: Failure to beneficially vectorize 'copyable' elements in integer binary ops.
    Dinar Temirbulatov via Phabricator via llvm-commits 
    llvm-commits at lists.llvm.org
       
    Thu Jan 25 03:42:59 PST 2018
    
    
  
dtemirbulatov added inline comments.
================
Comment at: lib/Transforms/Vectorize/SLPVectorizer.cpp:3629
+        }
+      // Check inner vector dependencies
+      for (User *U : I->users()) {
----------------
ABataev wrote:
> I still don't understand what are checking for here. Need more description and real tests
I hit the issue without "(SameOrAlt <= (VL.size() / 2))" limitation, I can send you testcases offline. but I believe with could trigger the issue without this check even in the current implementation.
https://reviews.llvm.org/D28907
    
    
More information about the llvm-commits
mailing list