aboutsummaryrefslogtreecommitdiff
path: root/llvm/lib/CodeGen/MachineFunction.cpp
diff options
context:
space:
mode:
authorSam Parker <sam.parker@arm.com>2020-05-26 14:28:34 +0100
committerSam Parker <sam.parker@arm.com>2020-06-09 07:41:22 +0100
commit37289615c01d08915626c58f825bc797c3a036e4 (patch)
treed6e303293d8116d47d23291c5006cf30b9fa0e6e /llvm/lib/CodeGen/MachineFunction.cpp
parent30dfbf03a206ad4f2a18d7fb904831ee728b6cbc (diff)
downloadllvm-37289615c01d08915626c58f825bc797c3a036e4.zip
llvm-37289615c01d08915626c58f825bc797c3a036e4.tar.gz
llvm-37289615c01d08915626c58f825bc797c3a036e4.tar.bz2
[NFCI][CostModel] Unify getCmpSelInstrCost
Add cases for icmp, fcmp and select into the switch statement of the generic getUserCost implementation with getInstructionThroughput then calling into it. The BasicTTI and backend implementations have be set to return a default value (1) when a cost other than throughput is being queried. Differential Revision: https://reviews.llvm.org/D80550
Diffstat (limited to 'llvm/lib/CodeGen/MachineFunction.cpp')
0 files changed, 0 insertions, 0 deletions