[all-commits] [llvm/llvm-project] 9b830c: [AArch64][SVE] Teach cost model masked gathers/sca...

Matthew Devereau via All-commits all-commits at lists.llvm.org
Thu Aug 26 03:18:40 PDT 2021


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: 9b830c798ebf2695772e8eaaeed3cd24fa66b68b
      https://github.com/llvm/llvm-project/commit/9b830c798ebf2695772e8eaaeed3cd24fa66b68b
  Author: Matthew Devereau <matthew.devereau at arm.com>
  Date:   2021-08-26 (Thu, 26 Aug 2021)

  Changed paths:
    M llvm/lib/Target/AArch64/AArch64TargetTransformInfo.cpp
    M llvm/test/Analysis/CostModel/AArch64/mem-op-cost-model.ll

  Log Message:
  -----------
  [AArch64][SVE] Teach cost model masked gathers/scatters are cheap

Tell the cost model to use the scalable calculation for non-neon fixed vector.
This results in a cheaper cost for fixed-length SVE masked gathers/scatters
allowing the vectorizor to emit them more frequently.




More information about the All-commits mailing list