<html>
<head>
<base href="https://bugs.llvm.org/">
</head>
<body><span class="vcard"><a class="email" href="mailto:max.kazantsev@azul.com" title="Max Kazantsev <max.kazantsev@azul.com>"> <span class="fn">Max Kazantsev</span></a>
</span> changed
<a class="bz_bug_link
bz_status_RESOLVED bz_closed"
title="RESOLVED FIXED - [LSR] Assertion `!BaseRegs.empty() && "1*reg => reg, should not be needed."' failed."
href="https://bugs.llvm.org/show_bug.cgi?id=50918">bug 50918</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>FIXED
</td>
</tr></table>
<p>
<div>
<b><a class="bz_bug_link
bz_status_RESOLVED bz_closed"
title="RESOLVED FIXED - [LSR] Assertion `!BaseRegs.empty() && "1*reg => reg, should not be needed."' failed."
href="https://bugs.llvm.org/show_bug.cgi?id=50918#c5">Comment # 5</a>
on <a class="bz_bug_link
bz_status_RESOLVED bz_closed"
title="RESOLVED FIXED - [LSR] Assertion `!BaseRegs.empty() && "1*reg => reg, should not be needed."' failed."
href="https://bugs.llvm.org/show_bug.cgi?id=50918">bug 50918</a>
from <span class="vcard"><a class="email" href="mailto:max.kazantsev@azul.com" title="Max Kazantsev <max.kazantsev@azul.com>"> <span class="fn">Max Kazantsev</span></a>
</span></b>
<pre>commit f98ed74f6910f8b09e77497aeb30c860c433610d (HEAD -> main, origin/main)
Author: Max Kazantsev <<a href="mailto:mkazantsev@azul.com">mkazantsev@azul.com</a>>
Date: Fri Jul 16 11:31:15 2021 +0700
[LSR] Handle case 1*reg => reg. PR50918
This patch addresses assertion failure in case when the only found formula
for LSR
is `1*reg => reg` which was supposed to be an impossible situation, however
there
is a test that shows it is possible.
In this case, we can use scale register with scale of 1 as the missing base
register.
Reviewed By: huihuiz, reames
Differential Revision: <a href="https://reviews.llvm.org/D105009">https://reviews.llvm.org/D105009</a></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>