[all-commits] [llvm/llvm-project] 09d30c: [CostModel] Unify Shuffle and InsertElement Costs

Sam Parker via All-commits all-commits at lists.llvm.org
Wed Jun 10 01:14:41 PDT 2020


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

  Changed paths:
    M llvm/include/llvm/Analysis/TargetTransformInfoImpl.h
    M llvm/lib/Analysis/TargetTransformInfo.cpp
    M llvm/lib/Target/AMDGPU/AMDGPUTargetTransformInfo.cpp
    M llvm/test/CodeGen/SystemZ/splitMove_undefReg_mverifier.ll

  Log Message:
  -----------
  [CostModel] Unify Shuffle and InsertElement Costs

Extract the existing code from getInstructionThroughput into
TTImpl::getUserCost. The duplicated code in the AMDGPU backend has
also been removed.

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




More information about the All-commits mailing list