[all-commits] [llvm/llvm-project] e5c64b: [CostModel][AMDGPU] Fix intrinsics costs estimations.

Daniil Fukalov via All-commits all-commits at lists.llvm.org
Mon Dec 13 06:18:04 PST 2021


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: e5c64b45be396a3f6e1fa7c6a3ffb7b5614edaca
      https://github.com/llvm/llvm-project/commit/e5c64b45be396a3f6e1fa7c6a3ffb7b5614edaca
  Author: Daniil Fukalov <daniil.fukalov at amd.com>
  Date:   2021-12-13 (Mon, 13 Dec 2021)

  Changed paths:
    M llvm/lib/Target/AMDGPU/AMDGPUTargetTransformInfo.cpp
    A llvm/test/Analysis/CostModel/AMDGPU/arith-ssat.ll
    A llvm/test/Analysis/CostModel/AMDGPU/arith-usat.ll
    M llvm/test/Analysis/CostModel/AMDGPU/fma.ll
    M llvm/test/Analysis/CostModel/AMDGPU/reduce-and.ll
    M llvm/test/Analysis/CostModel/AMDGPU/reduce-or.ll

  Log Message:
  -----------
  [CostModel][AMDGPU] Fix intrinsics costs estimations.

1. Fixed costs inconsistency for llvm.fma.vXf16 instinsiscs.
2. Added tests for llvm.sadd.sat, llvm.ssub.sat, llvm.uadd.sat, llvm.usub.sat
   intrisics since they have special processing in cost model.
3. Minor intrisics' costs tests updat and refinement.

Reviewed By: rampitec

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




More information about the All-commits mailing list