aboutsummaryrefslogtreecommitdiff
path: root/llvm/lib/CodeGen/MachinePassManager.cpp
diff options
context:
space:
mode:
authorSam Parker <sam.parker@arm.com>2020-08-18 12:52:58 +0100
committerSam Parker <sam.parker@arm.com>2020-08-21 08:49:56 +0100
commitacf0bb41e45c50c0f4e7310038d85101d4c1ef37 (patch)
treec0dd7d52cb23170f6b3f75e14652831a91a361f4 /llvm/lib/CodeGen/MachinePassManager.cpp
parent2b69efded0dc95ffbbdb39d109d38fbb8f0d6390 (diff)
downloadllvm-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