diff options
author | Simon Pilgrim <llvm-dev@redking.me.uk> | 2024-05-03 11:53:55 +0100 |
---|---|---|
committer | Simon Pilgrim <llvm-dev@redking.me.uk> | 2024-05-03 12:17:18 +0100 |
commit | fc7e74e879f37301edd9450d3bbf0fec620338a6 (patch) | |
tree | 05560350312aa02145620a10df7cfd50b989c9fe /llvm/lib/IR/Module.cpp | |
parent | bcdbd0bf50a3845130c5db9e3284f056233f12d7 (diff) | |
download | llvm-fc7e74e879f37301edd9450d3bbf0fec620338a6.zip llvm-fc7e74e879f37301edd9450d3bbf0fec620338a6.tar.gz llvm-fc7e74e879f37301edd9450d3bbf0fec620338a6.tar.bz2 |
[CostModel][X86] getCastInstrCost - improve CostKind adjustment when splitting src/dst types
Noticed in #90883 review - for non-Throughput costs, we weren't applying the split count to '0 or 1' cost value.
This still doesn't work well as many of the type legalizations are hidden so we don't have the split count, really we need to move a CostKindCosts based costs table, but that's going to be a lot of work :/
Diffstat (limited to 'llvm/lib/IR/Module.cpp')
0 files changed, 0 insertions, 0 deletions