[llvm-bugs] [Bug 50918] [LSR] Assertion `!BaseRegs.empty() && "1*reg => reg, should not be needed."' failed.
via llvm-bugs
llvm-bugs at lists.llvm.org
Thu Jul 15 22:15:04 PDT 2021
https://bugs.llvm.org/show_bug.cgi?id=50918
Max Kazantsev <max.kazantsev at azul.com> changed:
What |Removed |Added
----------------------------------------------------------------------------
Status|NEW |RESOLVED
Resolution|--- |FIXED
--- Comment #5 from Max Kazantsev <max.kazantsev at azul.com> ---
commit f98ed74f6910f8b09e77497aeb30c860c433610d (HEAD -> main, origin/main)
Author: Max Kazantsev <mkazantsev at azul.com>
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: https://reviews.llvm.org/D105009
--
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/20210716/43b445b4/attachment.html>
More information about the llvm-bugs
mailing list