[llvm-bugs] [Bug 32607] Crash in NewGVN if run after LICM

via llvm-bugs llvm-bugs at lists.llvm.org
Thu Apr 13 20:09:29 PDT 2017


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

Daniel Berlin <dberlin at dberlin.org> changed:

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

--- Comment #4 from Daniel Berlin <dberlin at dberlin.org> ---
This has been fixed another way.
We now treat phis with undef + at least one more reachable value as
multi-valued phis, and we only allow it to use undef if we prove it is
cycle-free.

(IE the phi is not dependent on any expressions that depend on the phi value)

-- 
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/20170414/bc275949/attachment.html>


More information about the llvm-bugs mailing list