<html><head><meta http-equiv="Content-Type" content="text/html charset=utf-8"></head><body style="word-wrap: break-word; -webkit-nbsp-mode: space; -webkit-line-break: after-white-space;" class=""><br class=""><div><blockquote type="cite" class=""><div class="">On Aug 12, 2015, at 9:01 AM, Quolick via llvm-dev <<a href="mailto:llvm-dev@lists.llvm.org" class="">llvm-dev@lists.llvm.org</a>> wrote:</div><br class="Apple-interchange-newline"><div class="">Hi!<br class=""><br class="">All compilers can replace multiplication operation by bit shifts and LEA x86 instruction<br class="">(if current target arch is x86).<br class="">Can I ask, where in LLVM this happens? I can't find it in source code.</div></blockquote><br class=""></div><div>lib/Target/X86/X86ISelLowering.cpp: <span style="font-family: Menlo; font-size: 11px;" class="">PerformMulCombine</span></div><div><span style="font-family: Menlo; font-size: 11px;" class=""><br class=""></span></div><div><font face="Menlo" class=""><span style="font-size: 11px;" class="">—escha</span></font></div></body></html>