commit | 999d896788686b8733ee6c976b8996f8d48623a6 | [log] [tgz] |
---|---|---|
author | Eli Friedman <efriedma@codeaurora.org> | Wed Jul 25 18:22:22 2018 +0000 |
committer | Eli Friedman <efriedma@codeaurora.org> | Wed Jul 25 18:22:22 2018 +0000 |
tree | 4889b74243956afede495a5f67a77fcd69b49d37 | |
parent | d844c8fc2cb1e0421dc19e61519ee98aa72b7a33 [diff] |
[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 git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@337945 91177308-0d34-0410-b5e6-96231b3b80d8