[all-commits] [llvm/llvm-project] 9ab17a: [TTI] NFC: Use InstructionCost to store Scalarizat...

Daniil Fukalov via All-commits all-commits at lists.llvm.org
Fri Apr 23 08:02:30 PDT 2021


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: 9ab17a60ebf7145bd02578024b76a6191a4fdec5
      https://github.com/llvm/llvm-project/commit/9ab17a60ebf7145bd02578024b76a6191a4fdec5
  Author: dfukalov <daniil.fukalov at amd.com>
  Date:   2021-04-23 (Fri, 23 Apr 2021)

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

  Log Message:
  -----------
  [TTI] NFC: Use InstructionCost to store ScalarizationCost in IntrinsicCostAttributes.

This patch migrates the TTI cost interfaces to return an InstructionCost.

See this patch for the introduction of the type: https://reviews.llvm.org/D91174
See this thread for context: http://lists.llvm.org/pipermail/llvm-dev/2020-November/146408.html

Reviewed By: samparker

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




More information about the All-commits mailing list