<html>
<head>
<base href="http://llvm.org/bugs/" />
</head>
<body><span class="vcard"><a class="email" href="mailto:clattner@apple.com" title="Chris Lattner <clattner@apple.com>"> <span class="fn">Chris Lattner</span></a>
</span> changed
<a class="bz_bug_link
bz_status_RESOLVED bz_closed"
title="RESOLVED INVALID - use imul instead of lea to implement simple multiplication when the argument is call-by-reference"
href="http://llvm.org/bugs/show_bug.cgi?id=19047">bug 19047</a>
<br>
<table border="1" cellspacing="0" cellpadding="8">
<tr>
<th>What</th>
<th>Removed</th>
<th>Added</th>
</tr>
<tr>
<td style="text-align:right;">Status</td>
<td>NEW
</td>
<td>RESOLVED
</td>
</tr>
<tr>
<td style="text-align:right;">Resolution</td>
<td>---
</td>
<td>INVALID
</td>
</tr></table>
<p>
<div>
<b><a class="bz_bug_link
bz_status_RESOLVED bz_closed"
title="RESOLVED INVALID - use imul instead of lea to implement simple multiplication when the argument is call-by-reference"
href="http://llvm.org/bugs/show_bug.cgi?id=19047#c2">Comment # 2</a>
on <a class="bz_bug_link
bz_status_RESOLVED bz_closed"
title="RESOLVED INVALID - use imul instead of lea to implement simple multiplication when the argument is call-by-reference"
href="http://llvm.org/bugs/show_bug.cgi?id=19047">bug 19047</a>
from <span class="vcard"><a class="email" href="mailto:clattner@apple.com" title="Chris Lattner <clattner@apple.com>"> <span class="fn">Chris Lattner</span></a>
</span></b>
<pre>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?</pre>
</div>
</p>
<hr>
<span>You are receiving this mail because:</span>
<ul>
<li>You are on the CC list for the bug.</li>
</ul>
</body>
</html>