commit | 7d3adcd95a09b423407f68e7d88dfd7bcb363373 | [log] [tgz] |
---|---|---|
author | Craig Topper <craig.topper@intel.com> | Fri Jul 27 23:04:59 2018 +0000 |
committer | Craig Topper <craig.topper@intel.com> | Fri Jul 27 23:04:59 2018 +0000 |
tree | 5e19806edcc13b90b8f07b9dc7d26fc13046eea6 | |
parent | 2ccd4fbdb9c1417ba67e7494b6d50fe475c5ffea [diff] |
[X86] Add support expanding multiplies by constant where the constant is -3/-5/-9 multplied by a power of 2. These can be replaced with an LEA, a shift, and a negate. This seems to match what gcc and icc would do. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@338174 91177308-0d34-0410-b5e6-96231b3b80d8