[llvm] [AArch64] Remove special-case inserted shuffle cost. (PR #100537)
Sjoerd Meijer via llvm-commits
llvm-commits at lists.llvm.org
Thu Jul 25 02:57:02 PDT 2024
================
@@ -4070,10 +4070,6 @@ InstructionCost AArch64TTIImpl::getShuffleCost(
Cost += getShuffleCost(NumSources <= 1 ? TTI::SK_PermuteSingleSrc
: TTI::SK_PermuteTwoSrc,
NTp, NMask, CostKind, 0, nullptr, Args, CxtI);
- else if (any_of(enumerate(NMask), [&](const auto &ME) {
----------------
sjoerdmeijer wrote:
Nit: perhaps add the description/explanation why we are not counting already inserted elements to the comment above?
https://github.com/llvm/llvm-project/pull/100537
More information about the llvm-commits
mailing list