[llvm-bugs] [Bug 50368] clang crashes at llvm/lib/IR/Constants.cpp:1981 Assertion `CastInst::castIsValid(opc, C, Ty) && "Invalid constantexpr cast!"' failed (under -O2 or -O3)

via llvm-bugs llvm-bugs at lists.llvm.org
Mon May 17 09:00:09 PDT 2021


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

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

           What    |Removed                     |Added
----------------------------------------------------------------------------
         Resolution|---                         |WORKSFORME
             Status|CONFIRMED                   |RESOLVED

--- Comment #2 from Sanjay Patel <spatel+llvm at rotateright.com> ---
The crash is gone after:
https://reviews.llvm.org/rG6ae9893e

So I'm going to mark this resolved for now. I left a link/comment in bug 50354,
so we can make sure the test here is good if that patch is retried.

-- 
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/20210517/9e378794/attachment-0001.html>


More information about the llvm-bugs mailing list