<html>
<head>
<base href="https://bugs.llvm.org/">
</head>
<body><span class="vcard"><a class="email" href="mailto:llvm-dev@redking.me.uk" title="Simon Pilgrim <llvm-dev@redking.me.uk>"> <span class="fn">Simon Pilgrim</span></a>
</span> changed
<a class="bz_bug_link
bz_status_RESOLVED bz_closed"
title="RESOLVED FIXED - Addressing mode matching does not combine a 32 bit constant addition into a 64 bit address mode calculation"
href="https://bugs.llvm.org/show_bug.cgi?id=22970">bug 22970</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;">CC</td>
<td>
</td>
<td>llvm-dev@redking.me.uk
</td>
</tr>
<tr>
<td style="text-align:right;">Resolution</td>
<td>---
</td>
<td>FIXED
</td>
</tr></table>
<p>
<div>
<b><a class="bz_bug_link
bz_status_RESOLVED bz_closed"
title="RESOLVED FIXED - Addressing mode matching does not combine a 32 bit constant addition into a 64 bit address mode calculation"
href="https://bugs.llvm.org/show_bug.cgi?id=22970#c7">Comment # 7</a>
on <a class="bz_bug_link
bz_status_RESOLVED bz_closed"
title="RESOLVED FIXED - Addressing mode matching does not combine a 32 bit constant addition into a 64 bit address mode calculation"
href="https://bugs.llvm.org/show_bug.cgi?id=22970">bug 22970</a>
from <span class="vcard"><a class="email" href="mailto:llvm-dev@redking.me.uk" title="Simon Pilgrim <llvm-dev@redking.me.uk>"> <span class="fn">Simon Pilgrim</span></a>
</span></b>
<pre>Looks good in trunk - added test at rL301401.
tst2(int*, int): # @tst2(int*, int)
andl $4095, %esi # imm = 0xFFF
movl 32(%rdi,%rsi,4), %eax
retq
tst2(int*, long): # @tst2(int*, long)
andl $4095, %esi # imm = 0xFFF
movl 32(%rdi,%rsi,4), %eax
retq</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>