diff options
author | Sam Parker <sam.parker@arm.com> | 2020-05-13 07:22:42 +0100 |
---|---|---|
committer | Sam Parker <sam.parker@arm.com> | 2020-05-13 07:26:08 +0100 |
commit | 6bbad7285c4b8a38fc9a3a0bd68eb3096f9d27bc (patch) | |
tree | 9b70aa11114acd95b8c6f70f8f75af91524036a6 /llvm/lib/Bitcode/Reader/MetadataLoader.cpp | |
parent | 49e6c191004aff1a4c4cbac87bcb96c9ff694534 (diff) | |
download | llvm-6bbad7285c4b8a38fc9a3a0bd68eb3096f9d27bc.zip llvm-6bbad7285c4b8a38fc9a3a0bd68eb3096f9d27bc.tar.gz llvm-6bbad7285c4b8a38fc9a3a0bd68eb3096f9d27bc.tar.bz2 |
[CostModel] Modify BasicTTI getCastInstrCost
Fix the assumption that all bitcasts of the same type sizes are free.
We now only assume that bitcasts between ints and ptrs of the same
size are free. This allows TTImpl to just call the concrete
implementation of getCastInstrCost.
Differential Revision: https://reviews.llvm.org/D78918
Diffstat (limited to 'llvm/lib/Bitcode/Reader/MetadataLoader.cpp')
0 files changed, 0 insertions, 0 deletions