diff options
author | Eli Friedman <efriedma@quicinc.com> | 2019-07-31 23:17:34 +0000 |
---|---|---|
committer | Eli Friedman <efriedma@quicinc.com> | 2019-07-31 23:17:34 +0000 |
commit | 2f45ec1c39dcb4ec2b7aabe03d54ad22659474e2 (patch) | |
tree | 3211bc94260c2e90bc7a883b369a541b3ba95359 /lldb/packages/Python/lldbsuite/test/python_api/process/main.cpp | |
parent | ad15c1a47a695f0b9e4ca8c711fb72e998d51ac7 (diff) | |
download | bcm5719-llvm-2f45ec1c39dcb4ec2b7aabe03d54ad22659474e2.tar.gz bcm5719-llvm-2f45ec1c39dcb4ec2b7aabe03d54ad22659474e2.zip |
[ARM] Transform compare of masked value to shift on Thumb1.
Thumb1 has very limited immediate modes, so turning an "and" into a
shift can save multiple instructions.
It's possible to simplify the generated code for test2 and test3 in
cmp-and-fold.ll a little more, but I'll implement that as a followup.
Differential Revision: https://reviews.llvm.org/D65175
llvm-svn: 367491
Diffstat (limited to 'lldb/packages/Python/lldbsuite/test/python_api/process/main.cpp')
0 files changed, 0 insertions, 0 deletions