[PATCH] D93049: [CostModel]Migrate getTreeCost() to use InstructionCost
Caroline via Phabricator via llvm-commits
llvm-commits at lists.llvm.org
Thu Dec 10 09:10:30 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 changes the type of cost variables (for instance: Cost, ExtractCost,
SpillCost) to use InstructionCost.
This patch also changes the type of cost variables to InstructionCost in other
functions that use the result of getTreeCost()
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
Depends on D91174 <https://reviews.llvm.org/D91174>
Repository:
rG LLVM Github Monorepo
https://reviews.llvm.org/D93049
Files:
llvm/lib/Transforms/Vectorize/SLPVectorizer.cpp
-------------- next part --------------
A non-text attachment was scrubbed...
Name: D93049.310928.patch
Type: text/x-patch
Size: 5098 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20201210/7d7b7a80/attachment.bin>
More information about the llvm-commits
mailing list