[PATCH] D100865: [COST] Improve shuffle kind detection if shuffle mask is provided.
Dave Green via Phabricator via llvm-commits
llvm-commits at lists.llvm.org
Sun Apr 25 11:25:25 PDT 2021
dmgreen added inline comments.
================
Comment at: llvm/include/llvm/CodeGen/BasicTTIImpl.h:753
+ case TTI::SK_PermuteTwoSrc:
+ if (ShuffleVectorInst::isSelectMask(Mask))
+ return TTI::SK_Select;
----------------
Some of these Mask functions do not handle all sizes of mask. Do we need to be careful about shuffles that changesLength?
Repository:
rG LLVM Github Monorepo
CHANGES SINCE LAST ACTION
https://reviews.llvm.org/D100865/new/
https://reviews.llvm.org/D100865
More information about the llvm-commits
mailing list