[all-commits] [llvm/llvm-project] 415008: NFC: Migrate CodeMetrics to work on InstructionCost

sdesmalen-arm via All-commits all-commits at lists.llvm.org
Thu Feb 11 03:11:17 PST 2021


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: 41500836b0f2e335b71919700e5db9341de76e8a
      https://github.com/llvm/llvm-project/commit/41500836b0f2e335b71919700e5db9341de76e8a
  Author: Sander de Smalen <sander.desmalen at arm.com>
  Date:   2021-02-11 (Thu, 11 Feb 2021)

  Changed paths:
    M llvm/lib/Analysis/CodeMetrics.cpp

  Log Message:
  -----------
  NFC: Migrate CodeMetrics to work on InstructionCost

This patch migrates cost values and arithmetic to work on InstructionCost.
When the interfaces to TargetTransformInfo are changed, any InstructionCost
state will propagate naturally.

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: david-arm

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




More information about the All-commits mailing list