[all-commits] [llvm/llvm-project] 0195e5: [TTI] NFC: Change getIntImmCodeSizeCost to return ...

Daniil Fukalov via All-commits all-commits at lists.llvm.org
Wed Jun 2 06:04:50 PDT 2021


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: 0195e594feccaffc483a3780e6d65daeb72922a4
      https://github.com/llvm/llvm-project/commit/0195e594feccaffc483a3780e6d65daeb72922a4
  Author: Daniil Fukalov <daniil.fukalov at amd.com>
  Date:   2021-06-02 (Wed, 02 Jun 2021)

  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/ARM/ARMTargetTransformInfo.cpp
    M llvm/lib/Target/ARM/ARMTargetTransformInfo.h

  Log Message:
  -----------
  [TTI] NFC: Change getIntImmCodeSizeCost to return InstructionCost.

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: sdesmalen

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




More information about the All-commits mailing list