[llvm-bugs] [Bug 48075] New: opt -memcpyopt crashing with Assertion `isa<X>(Val) && "cast<Ty>() argument of incompatible type!"' failed.
via llvm-bugs
llvm-bugs at lists.llvm.org
Wed Nov 4 07:09:39 PST 2020
https://bugs.llvm.org/show_bug.cgi?id=48075
Bug ID: 48075
Summary: opt -memcpyopt crashing with Assertion `isa<X>(Val) &&
"cast<Ty>() argument of incompatible type!"' failed.
Product: libraries
Version: trunk
Hardware: PC
OS: Linux
Status: NEW
Severity: enhancement
Priority: P
Component: Scalar Optimizations
Assignee: unassignedbugs at nondot.org
Reporter: mikael.holmen at ericsson.com
CC: llvm-bugs at lists.llvm.org
Created attachment 24135
--> https://bugs.llvm.org/attachment.cgi?id=24135&action=edit
bbi-48944.ll reproducer
Reproduce with:
opt -S -o - bbi-48944.ll -memcpyopt
Result:
opt: ../include/llvm/Support/Casting.h:269: typename cast_retty<X, Y
*>::ret_type llvm::cast(Y *) [X = llvm::PointerType, Y = llvm::Type]: Assertion
`isa<X>(Val) && "cast<Ty>() argument of incompatible type!"' failed.
This seems to be rather old, I've reproduced it with saved builds from July
2019.
--
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/20201104/35ca2f72/attachment.html>
More information about the llvm-bugs
mailing list