summaryrefslogtreecommitdiffstats
path: root/llvm/lib/CodeGen/PeepholeOptimizer.cpp
diff options
context:
space:
mode:
authorEli Friedman <efriedma@codeaurora.org>2018-07-25 18:22:22 +0000
committerEli Friedman <efriedma@codeaurora.org>2018-07-25 18:22:22 +0000
commit733f4ed1bb42d2080fd24dd5c4155e7277abafc4 (patch)
treec3209bcf4c2cf0a92802add7e895af6feaf24176 /llvm/lib/CodeGen/PeepholeOptimizer.cpp
parentc9588578c49e0d61924c33b1082dc5cf1cd96aac (diff)
downloadbcm5719-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/PeepholeOptimizer.cpp')
0 files changed, 0 insertions, 0 deletions
OpenPOWER on IntegriCloud