diff options
author | Sam Parker <sam.parker@arm.com> | 2020-08-18 12:52:58 +0100 |
---|---|---|
committer | Sam Parker <sam.parker@arm.com> | 2020-08-21 08:49:56 +0100 |
commit | acf0bb41e45c50c0f4e7310038d85101d4c1ef37 (patch) | |
tree | c0dd7d52cb23170f6b3f75e14652831a91a361f4 /llvm/lib/CodeGen/MachinePassManager.cpp | |
parent | 2b69efded0dc95ffbbdb39d109d38fbb8f0d6390 (diff) | |
download | llvm-acf0bb41e45c50c0f4e7310038d85101d4c1ef37.zip llvm-acf0bb41e45c50c0f4e7310038d85101d4c1ef37.tar.gz llvm-acf0bb41e45c50c0f4e7310038d85101d4c1ef37.tar.bz2 |
[ARM][CostModel] Select instruction costs.
Modify the ARM getCmpSelInstrCost implementation for the code size
costs of selects. Now consider the legalization cost and increase
the cost of i1 because those values wouldn't live in a general purpose
register. We also make selects +1 more expensive to account for the IT
instruction.
Differential Revision: https://reviews.llvm.org/D82091
Diffstat (limited to 'llvm/lib/CodeGen/MachinePassManager.cpp')
0 files changed, 0 insertions, 0 deletions