[PATCH] D93127: [SLPVectorizer]Migrate getEntryCost to return InstructionCost

Caroline via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Fri Dec 11 09:22:49 PST 2020


CarolineConcatto created this revision.
Herald added a subscriber: hiraditya.
CarolineConcatto requested review of this revision.
Herald added a project: LLVM.
Herald added a subscriber: llvm-commits.

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 <https://reviews.llvm.org/D93049>


Repository:
  rG LLVM Github Monorepo

https://reviews.llvm.org/D93127

Files:
  llvm/lib/Transforms/Vectorize/SLPVectorizer.cpp

-------------- next part --------------
A non-text attachment was scrubbed...
Name: D93127.311253.patch
Type: text/x-patch
Size: 13567 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20201211/e4836c6b/attachment.bin>


More information about the llvm-commits mailing list