[llvm-bugs] [Bug 51553] Crash on -O3: typename llvm::cast_retty<X, Y*>::ret_type llvm::cast(Y*) [with X = llvm::Instruction; Y = llvm::Value; typename llvm::cast_retty<X, Y*>::ret_type = llvm::Instruction*]: Assertion `isa<X>(Val) && "cast<Ty>() argument of incompatible type!"'

via llvm-bugs llvm-bugs at lists.llvm.org
Fri Aug 20 11:54:30 PDT 2021


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

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

           What    |Removed                     |Added
----------------------------------------------------------------------------
         Resolution|---                         |FIXED
             Status|NEW                         |RESOLVED
                 CC|                            |spatel+llvm at rotateright.com

--- Comment #1 from Sanjay Patel <spatel+llvm at rotateright.com> ---
This bug was introduced with:
https://reviews.llvm.org/rGcfb6dfcbd13b417f83d8a

There was a similar report posted after commit in:
https://reviews.llvm.org/D108201

Should be fixed with:
https://reviews.llvm.org/rGdd19f342fa21

-- 
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/20210820/a38781fd/attachment.html>


More information about the llvm-bugs mailing list