commit | e7dfa85e85b697c1587b8a1adc208e9fda699885 | [log] [tgz] |
---|---|---|
author | Chad Rosier <mcrosier@codeaurora.org> | Mon Jun 30 14:51:14 2014 +0000 |
committer | Chad Rosier <mcrosier@codeaurora.org> | Mon Jun 30 14:51:14 2014 +0000 |
tree | b781601faa02829258378d7926e4abdf356e9f39 | |
parent | 12a261e117f0e638362550cc675e266ceefceddd [diff] |
[AArch64] Convert mul x, -(pow2 +/- 1) to shift + add/sub. The combine for mul x, pow2 +/- 1 is unchanged. Test cases for both combines as well as mul x, pow2 have been added as well. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@212044 91177308-0d34-0410-b5e6-96231b3b80d8