[all-commits] [llvm/llvm-project] be9184: [SLPVectorizer]Migrate getEntryCost to return Inst...

CarolineConcatto via All-commits all-commits at lists.llvm.org
Wed Dec 16 06:24:07 PST 2020


  Branch: refs/heads/master
  Home:   https://github.com/llvm/llvm-project
  Commit: be9184bc557ae4000cd785fe369347817e5cbad4
      https://github.com/llvm/llvm-project/commit/be9184bc557ae4000cd785fe369347817e5cbad4
  Author: Caroline Concatto <caroline.concatto at arm.com>
  Date:   2020-12-16 (Wed, 16 Dec 2020)

  Changed paths:
    M llvm/lib/Transforms/Vectorize/SLPVectorizer.cpp

  Log Message:
  -----------
  [SLPVectorizer]Migrate getEntryCost to return InstructionCost

This patch also changes:
  the return type of getGatherCost and
  the signature of the debug function dumpTreeCosts
to use InstructionCost.

This patch is part of a series of patches to use InstructionCost instead of
unsigned/int for the cost model functions.

See this thread for context:
http://lists.llvm.org/pipermail/llvm-dev/2020-November/146408.html

See this patch for the introduction of the type:
https://reviews.llvm.org/D91174

Depends on D93049

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




More information about the All-commits mailing list