diff options
author | David Green <david.green@arm.com> | 2019-02-04 11:58:48 +0000 |
---|---|---|
committer | David Green <david.green@arm.com> | 2019-02-04 11:58:48 +0000 |
commit | b4f36a2196eb5d85e7596a4f9b5411c0568bf473 (patch) | |
tree | d7e474d27268b66f3f7272f4d8bfd600308b8c27 /llvm/lib/Support/CommandLine.cpp | |
parent | 75d79f472e92a99597d99b4ff96c2b20da353cd4 (diff) | |
download | llvm-b4f36a2196eb5d85e7596a4f9b5411c0568bf473.zip llvm-b4f36a2196eb5d85e7596a4f9b5411c0568bf473.tar.gz llvm-b4f36a2196eb5d85e7596a4f9b5411c0568bf473.tar.bz2 |
[ARM] Mark 255 and 65535 as cheap for Thumb1 "And"
This prevents Constant Hoisting from pulling the constant out of the block,
allowing us to still produce LDRH/UXTH nodes. LDRB/UXTB (255) is already cheap
by the default getIntImmCost, but I've added it for clarity.
Differential Revision: https://reviews.llvm.org/D57671
llvm-svn: 353040
Diffstat (limited to 'llvm/lib/Support/CommandLine.cpp')
0 files changed, 0 insertions, 0 deletions