diff options
author | Eli Friedman <efriedma@codeaurora.org> | 2018-07-25 18:22:22 +0000 |
---|---|---|
committer | Eli Friedman <efriedma@codeaurora.org> | 2018-07-25 18:22:22 +0000 |
commit | 733f4ed1bb42d2080fd24dd5c4155e7277abafc4 (patch) | |
tree | c3209bcf4c2cf0a92802add7e895af6feaf24176 /llvm/lib/CodeGen/TargetSubtargetInfo.cpp | |
parent | c9588578c49e0d61924c33b1082dc5cf1cd96aac (diff) | |
download | bcm5719-llvm-733f4ed1bb42d2080fd24dd5c4155e7277abafc4.tar.gz bcm5719-llvm-733f4ed1bb42d2080fd24dd5c4155e7277abafc4.zip |
[ARM] Prefer lsls+lsrs over lsls+ands or lsrs+ands in Thumb1.
Saves materializing the immediate for the "ands".
Corresponding patterns exist for lsrs+lsls, but that seems less common
in practice.
Now implemented as a DAGCombine.
Differential Revision: https://reviews.llvm.org/D49585
llvm-svn: 337945
Diffstat (limited to 'llvm/lib/CodeGen/TargetSubtargetInfo.cpp')
0 files changed, 0 insertions, 0 deletions