[all-commits] [llvm/llvm-project] 07217e: [CostModel]Migrate getTreeCost() to use Instructio...
CarolineConcatto via All-commits
all-commits at lists.llvm.org
Wed Dec 16 05:14:56 PST 2020
Branch: refs/heads/master
Home: https://github.com/llvm/llvm-project
Commit: 07217e0a1b7e40bb9c4e9953f9c7366c84d30c93
https://github.com/llvm/llvm-project/commit/07217e0a1b7e40bb9c4e9953f9c7366c84d30c93
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:
-----------
[CostModel]Migrate getTreeCost() to use InstructionCost
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
Differential Revision: https://reviews.llvm.org/D93049
More information about the All-commits
mailing list