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

Max Kazantsev <[email protected]> changed:

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

--- Comment #4 from Max Kazantsev <[email protected]> ---
Fix merged.

commit 664e1da485d244325947d056a271c3c733ad4c7c
Author: Max Kazantsev <[email protected]>
Date:   Thu Nov 26 10:49:44 2020 +0700

    [LoopLoadElim] Make sure all loops are in simplify form. PR48150

    LoopLoadElim may end up expanding an AddRec from a loop
    which is not the current loop. This loop may not be in simplify
    form. We figure it out after the no-return point, so cannot bail
    in this case.

    AddRec requires simplify form to expand. The only way to ensure
    this does not crash is to simplify all loops beforehand.

    The issue only exists in new PM. Old PM requests LoopSimplify
    required pass and it simplifies all loops before the opt begins.

    Differential Revision: https://reviews.llvm.org/D91525
    Reviewed By: asbirlea, aeubanks

-- 
You are receiving this mail because:
You are on the CC list for the bug.
_______________________________________________
llvm-bugs mailing list
[email protected]
https://lists.llvm.org/cgi-bin/mailman/listinfo/llvm-bugs

Reply via email to