diff options
author | Caroline Concatto <caroline.concatto@arm.com> | 2020-12-10 13:52:35 +0000 |
---|---|---|
committer | Caroline Concatto <caroline.concatto@arm.com> | 2020-12-16 13:08:37 +0000 |
commit | 07217e0a1b7e40bb9c4e9953f9c7366c84d30c93 (patch) | |
tree | 91f3ff53dc11a88624722a6cd726c76e600bf907 /llvm/lib/CodeGen/TargetLoweringObjectFileImpl.cpp | |
parent | 60e4698b9aba8d9a2b27ac8a636c95ad1f7d94e0 (diff) | |
download | llvm-07217e0a1b7e40bb9c4e9953f9c7366c84d30c93.zip llvm-07217e0a1b7e40bb9c4e9953f9c7366c84d30c93.tar.gz llvm-07217e0a1b7e40bb9c4e9953f9c7366c84d30c93.tar.bz2 |
[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
Diffstat (limited to 'llvm/lib/CodeGen/TargetLoweringObjectFileImpl.cpp')
0 files changed, 0 insertions, 0 deletions