[PATCH] D38693: [SLP] Consider extractelements as shuffles iff they have the same type/parent etc.

Simon Pilgrim via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Sun Oct 29 05:34:11 PDT 2017


RKSimon added a comment.

I must say, this patch gets incredibly confusing - TEK_EEShuffle sometimes gets treated like a gather, and other times as a vectorization - it's almost never referenced directly.



================
Comment at: lib/Transforms/Vectorize/SLPVectorizer.cpp:741
       MustGather.insert(VL.begin(), VL.end());
     }
 
----------------
Why don't you handle TEK_EEShuffle?


https://reviews.llvm.org/D38693





More information about the llvm-commits mailing list