[all-commits] [llvm/llvm-project] 51541c: [CostModel] Unify ExtractElement cost.

Sam Parker via All-commits all-commits at lists.llvm.org
Mon Jun 15 00:28:11 PDT 2020


  Branch: refs/heads/master
  Home:   https://github.com/llvm/llvm-project
  Commit: 51541c068a83355720e54509a3fca0c2558ee555
      https://github.com/llvm/llvm-project/commit/51541c068a83355720e54509a3fca0c2558ee555
  Author: Sam Parker <sam.parker at arm.com>
  Date:   2020-06-15 (Mon, 15 Jun 2020)

  Changed paths:
    M llvm/include/llvm/Analysis/TargetTransformInfo.h
    M llvm/include/llvm/Analysis/TargetTransformInfoImpl.h
    M llvm/lib/Analysis/TargetTransformInfo.cpp
    M llvm/lib/Target/AMDGPU/AMDGPUTargetTransformInfo.cpp

  Log Message:
  -----------
  [CostModel] Unify ExtractElement cost.

Move the cost modelling, with the reduction pattern matching, from
getInstructionThroughput into generic TTIImpl::getUserCost. The
modelling in the AMDGPU backend can now be removed.

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




More information about the All-commits mailing list