[llvm-bugs] [Bug 48075] opt -memcpyopt crashing with Assertion `isa<X>(Val) && "cast<Ty>() argument of incompatible type!"' failed.

via llvm-bugs llvm-bugs at lists.llvm.org
Sun Nov 22 10:32:34 PST 2020


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

Sanjay Patel <spatel+llvm at rotateright.com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
         Resolution|---                         |FIXED
             Status|NEW                         |RESOLVED
                 CC|                            |spatel+llvm at rotateright.com
 Fixed By Commit(s)|                            |c5a4d80fd47c

--- Comment #1 from Sanjay Patel <spatel+llvm at rotateright.com> ---
I'm not sure if there's some enhancement potential in here, but this should
prevent the crashing at least by dyn_casting instead of plain casting:
https://reviews.llvm.org/rGc5a4d80fd47c

-- 
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/20201122/0b4d9ea2/attachment.html>


More information about the llvm-bugs mailing list