[PATCH] D98206: [TTI] Add a Mask to getShuffleCost

Simon Pilgrim via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Tue Mar 9 05:01:41 PST 2021


RKSimon added inline comments.


================
Comment at: llvm/lib/Transforms/Vectorize/SLPVectorizer.cpp:3482
         allSameType(VL) && allSameBlock(VL)) {
       Optional<TargetTransformInfo::ShuffleKind> ShuffleKind = isShuffle(VL);
       if (ShuffleKind.hasValue()) {
----------------
Should isShuffle() create a shuffle mask to pass on to getShuffleCost?


CHANGES SINCE LAST ACTION
  https://reviews.llvm.org/D98206/new/

https://reviews.llvm.org/D98206



More information about the llvm-commits mailing list