diff options
author | Craig Topper <craig.topper@intel.com> | 2018-07-25 01:15:38 +0000 |
---|---|---|
committer | Craig Topper <craig.topper@intel.com> | 2018-07-25 01:15:38 +0000 |
commit | fc501a9223e2e8ea8202fca06a58d6750f9a73a8 (patch) | |
tree | 2007115b77209bcbda67553e301153c7f97b7d4f /llvm/lib/Transforms/Hello/Hello.cpp | |
parent | 5be253d9886479f158904feeeebdce62a34019d4 (diff) | |
download | bcm5719-llvm-fc501a9223e2e8ea8202fca06a58d6750f9a73a8.tar.gz bcm5719-llvm-fc501a9223e2e8ea8202fca06a58d6750f9a73a8.zip |
[X86] Use a shift plus an lea for multiplying by a constant that is a power of 2 plus 2/4/8.
The LEA allows us to combine an add and the multiply by 2/4/8 together so we just need a shift for the larger power of 2.
llvm-svn: 337875
Diffstat (limited to 'llvm/lib/Transforms/Hello/Hello.cpp')
0 files changed, 0 insertions, 0 deletions