Quolick via llvm-dev
2015-Aug-12 16:01 UTC
[llvm-dev] replacing multiplication operation by bit shifts, etc
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.
escha via llvm-dev
2015-Aug-12 17:21 UTC
[llvm-dev] replacing multiplication operation by bit shifts, etc
> 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>