diff options
author | Michael Kuperstein <michael.m.kuperstein@intel.com> | 2015-01-28 14:08:22 +0000 |
---|---|---|
committer | Michael Kuperstein <michael.m.kuperstein@intel.com> | 2015-01-28 14:08:22 +0000 |
commit | 951995821a97969f662ac737e5a54689680b075f (patch) | |
tree | 0fd2bbbacf749ec435ed7422a1667e80df093408 /clang/lib/Sema/CodeCompleteConsumer.cpp | |
parent | f387611ac2d6f40d9070aa434fc5aa4131e238c3 (diff) | |
download | bcm5719-llvm-951995821a97969f662ac737e5a54689680b075f.tar.gz bcm5719-llvm-951995821a97969f662ac737e5a54689680b075f.zip |
[X86] Reduce some 32-bit imuls into lea + shl
Reduce integer multiplication by a constant of the form k*2^c, where k is in {3,5,9} into a lea + shl. Previously it was only done for imulq on 64-bit platforms, but it makes sense for imull and 32-bit as well.
Differential Revision: http://reviews.llvm.org/D7196
llvm-svn: 227308
Diffstat (limited to 'clang/lib/Sema/CodeCompleteConsumer.cpp')
0 files changed, 0 insertions, 0 deletions