[LLVMbugs] [Bug 19047] use imul instead of lea to implement simple multiplication when the argument is call-by-reference

bugzilla-daemon at llvm.org bugzilla-daemon at llvm.org
Tue Mar 4 16:57:45 PST 2014


http://llvm.org/bugs/show_bug.cgi?id=19047

Chris Lattner <clattner at apple.com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|NEW                         |RESOLVED
         Resolution|---                         |INVALID

--- Comment #2 from Chris Lattner <clattner at apple.com> ---
Why do you think that the current codegen is bad?  Using lea would require an
explicit load and store.  imul allows folding in the load, which is why it is
generated here.  You need to explain what is bad about imul.  Do you having
timings to show that it is a problem?  What alternative codegen would you
recommend that is faster?

-- 
You are receiving this mail because:
You are on the CC list for the bug.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.llvm.org/pipermail/llvm-bugs/attachments/20140305/77f3766e/attachment.html>


More information about the llvm-bugs mailing list