[all-commits] [llvm/llvm-project] 3bb228: [CostModel][SVE] Correct cost model of SK_Splice s...

paulwalker-arm via All-commits all-commits at lists.llvm.org
Fri Aug 26 08:10:46 PDT 2022


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: 3bb228729fc112291dad8f90a65c89b745270da7
      https://github.com/llvm/llvm-project/commit/3bb228729fc112291dad8f90a65c89b745270da7
  Author: Paul Walker <paul.walker at arm.com>
  Date:   2022-08-26 (Fri, 26 Aug 2022)

  Changed paths:
    M llvm/lib/Target/AArch64/AArch64TargetTransformInfo.cpp
    M llvm/test/Analysis/CostModel/AArch64/sve-intrinsics.ll

  Log Message:
  -----------
  [CostModel][SVE] Correct cost model of SK_Splice shuffles for <vscale x 1 x Ty> vector types.

AArch64TTIImpl::getSpliceCost() is now used more aggressively and
LNT (MultiSource/Benchmarks/mafft) exposed a failure case for
<vscale x 1 x i1>. I've tested other element types and whilst they
can be costed they cannot be code generated, so this patch returns
InstructionCost::getInvalid() for all cases.




More information about the All-commits mailing list