[all-commits] [llvm/llvm-project] 321ebf: [NFCI][CostModel] Unify FNeg cost

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


  Branch: refs/heads/master
  Home:   https://github.com/llvm/llvm-project
  Commit: 321ebfd1753a4ac9be17dda19deeb004f6259570
      https://github.com/llvm/llvm-project/commit/321ebfd1753a4ac9be17dda19deeb004f6259570
  Author: Sam Parker <sam.parker at arm.com>
  Date:   2020-06-15 (Mon, 15 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/lib/Target/AMDGPU/AMDGPUTargetTransformInfo.h

  Log Message:
  -----------
  [NFCI][CostModel] Unify FNeg cost

Enable TTIImpl::getUserCost to handle FNeg so that
getInstructionThroughput can call that instead. This means we can
remove the code in the AMDGPU backend too.

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




More information about the All-commits mailing list