[all-commits] [llvm/llvm-project] f71ed5: NFC: Migrate PartialInlining to work on Instructio...

sdesmalen-arm via All-commits all-commits at lists.llvm.org
Tue Mar 30 04:00:49 PDT 2021


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: f71ed5dfe280851e30b4c3fb4be559cd17570167
      https://github.com/llvm/llvm-project/commit/f71ed5dfe280851e30b4c3fb4be559cd17570167
  Author: Sander de Smalen <sander.desmalen at arm.com>
  Date:   2021-03-30 (Tue, 30 Mar 2021)

  Changed paths:
    M llvm/include/llvm/Support/InstructionCost.h
    M llvm/lib/Transforms/IPO/PartialInlining.cpp

  Log Message:
  -----------
  NFC: Migrate PartialInlining 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: paulwalker-arm

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




More information about the All-commits mailing list