[llvm-dev] replacing multiplication operation by bit shifts, etc
escha via llvm-dev
llvm-dev at lists.llvm.org
Wed Aug 12 10:21:03 PDT 2015
> On Aug 12, 2015, at 9:01 AM, Quolick via llvm-dev <llvm-dev at lists.llvm.org> wrote:
>
> Hi!
>
> All compilers can replace multiplication operation by bit shifts and LEA x86 instruction
> (if current target arch is x86).
> Can I ask, where in LLVM this happens? I can't find it in source code.
lib/Target/X86/X86ISelLowering.cpp: PerformMulCombine
—escha
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.llvm.org/pipermail/llvm-dev/attachments/20150812/8734aa18/attachment.html>
More information about the llvm-dev
mailing list