[all-commits] [llvm/llvm-project] 00fe10: [SCEVExpander] Migrate costAndCollectOperands to u...

sdesmalen-arm via All-commits all-commits at lists.llvm.org
Tue Feb 16 01:28:34 PST 2021


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

  Changed paths:
    M llvm/include/llvm/Transforms/Utils/ScalarEvolutionExpander.h
    M llvm/lib/Transforms/Utils/ScalarEvolutionExpander.cpp

  Log Message:
  -----------
  [SCEVExpander] Migrate costAndCollectOperands to use InstructionCost.

This patch changes costAndCollectOperands to use InstructionCost for
accumulated cost values.

isHighCostExpansion will return true if the cost has exceeded the budget.

Reviewed By: CarolineConcatto, ctetreau

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




More information about the All-commits mailing list