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: unassignedb...@nondot.org
          Reporter: mikael.hol...@ericsson.com
                CC: llvm-bugs@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.
_______________________________________________
llvm-bugs mailing list
llvm-bugs@lists.llvm.org
https://lists.llvm.org/cgi-bin/mailman/listinfo/llvm-bugs

Reply via email to