https://bugs.llvm.org/show_bug.cgi?id=50918

Max Kazantsev <max.kazant...@azul.com> changed:

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

--- Comment #5 from Max Kazantsev <max.kazant...@azul.com> ---
commit f98ed74f6910f8b09e77497aeb30c860c433610d (HEAD -> main, origin/main)
Author: Max Kazantsev <mkazant...@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.
_______________________________________________
llvm-bugs mailing list
llvm-bugs@lists.llvm.org
https://lists.llvm.org/cgi-bin/mailman/listinfo/llvm-bugs

Reply via email to