[all-commits] [llvm/llvm-project] e8e88c: [TTI] NFC: Change getRegUsageForType to return Ins...

Daniil Fukalov via All-commits all-commits at lists.llvm.org
Fri May 21 05:17:52 PDT 2021


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: e8e88c3353900d32eea515cb509a1d733d6bddf1
      https://github.com/llvm/llvm-project/commit/e8e88c3353900d32eea515cb509a1d733d6bddf1
  Author: Daniil Fukalov <daniil.fukalov at amd.com>
  Date:   2021-05-21 (Fri, 21 May 2021)

  Changed paths:
    M llvm/include/llvm/Analysis/TargetTransformInfo.h
    M llvm/include/llvm/Analysis/TargetTransformInfoImpl.h
    M llvm/include/llvm/CodeGen/BasicTTIImpl.h
    M llvm/lib/Analysis/TargetTransformInfo.cpp
    M llvm/lib/Transforms/Vectorize/LoopVectorize.cpp

  Log Message:
  -----------
  [TTI] NFC: Change getRegUsageForType 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/D102541




More information about the All-commits mailing list