commit | 4436dc3b2385ed47631917c02136d1a2b7fdecf0 | [log] [tgz] |
---|---|---|
author | Haicheng Wu <haicheng@codeaurora.org> | Tue Nov 15 20:16:48 2016 +0000 |
committer | Haicheng Wu <haicheng@codeaurora.org> | Tue Nov 15 20:16:48 2016 +0000 |
tree | 902e5a415b7cf0770a96619fa46a3a9748a3b302 | |
parent | 339cf19d8c9a469a22d21d5a3439240a8fe124f2 [diff] |
[AArch64] Lower multiplication by a constant int to shl+add+shl Lower a = b * C where C = (2^n + 1) * 2^m to add w0, w0, w0, lsl n lsl w0, w0, m Differential Revision: https://reviews.llvm.org/D229245 git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@287019 91177308-0d34-0410-b5e6-96231b3b80d8