[all-commits] [llvm/llvm-project] 060cfd: [AArch64][SVE]Add cost model for masked gather and...

CarolineConcatto via All-commits all-commits at lists.llvm.org
Mon Jan 4 06:06:22 PST 2021


  Branch: refs/heads/master
  Home:   https://github.com/llvm/llvm-project
  Commit: 060cfd97954835c3be18e47c631d3efb3e374439
      https://github.com/llvm/llvm-project/commit/060cfd97954835c3be18e47c631d3efb3e374439
  Author: Caroline Concatto <caroline.concatto at arm.com>
  Date:   2021-01-04 (Mon, 04 Jan 2021)

  Changed paths:
    M llvm/include/llvm/Analysis/TargetTransformInfo.h
    M llvm/include/llvm/Analysis/TargetTransformInfoImpl.h
    M llvm/include/llvm/CodeGen/BasicTTIImpl.h
    M llvm/lib/Analysis/TargetTransformInfo.cpp
    M llvm/lib/Target/AArch64/AArch64TargetTransformInfo.cpp
    M llvm/lib/Target/AArch64/AArch64TargetTransformInfo.h
    A llvm/test/Analysis/CostModel/AArch64/sve-getIntrinsicInstrCost-gather.ll
    A llvm/test/Analysis/CostModel/AArch64/sve-getIntrinsicInstrCost-scatter.ll

  Log Message:
  -----------
  [AArch64][SVE]Add cost model for masked gather and scatter for scalable vector.

    A new TTI interface has been added 'Optional <unsigned>getMaxVScale' that
    returns the maximum vscale for a given target.
    When known getMaxVScale is used to compute the cost of masked gather scatter
    for scalable vector.

    Depends on D92094

    Differential Revision: https://reviews.llvm.org/D93030




More information about the All-commits mailing list