[llvm-bugs] [Bug 34211] New: opt crashes when running BDCE: Assertion `Ty->isSized() && "Cannot getTypeInfo() on a type that is unsized!"' failed
via llvm-bugs
llvm-bugs at lists.llvm.org
Wed Aug 16 08:02:05 PDT 2017
https://bugs.llvm.org/show_bug.cgi?id=34211
Bug ID: 34211
Summary: opt crashes when running BDCE: Assertion
`Ty->isSized() && "Cannot getTypeInfo() on a type that
is unsized!"' failed
Product: new-bugs
Version: trunk
Hardware: PC
OS: All
Status: NEW
Severity: enhancement
Priority: P
Component: new bugs
Assignee: unassignedbugs at nondot.org
Reporter: david.stenberg at ericsson.com
CC: llvm-bugs at lists.llvm.org
Created attachment 18995
--> https://bugs.llvm.org/attachment.cgi?id=18995&action=edit
Reduced reproducer.
When running the following command line using opt from top-of-trunk:
$ opt -bdce bugpoint-reduced-simplified.ll -o /dev/null
opt crashes due to the following assertion:
opt: ../include/llvm/IR/DataLayout.h:533: uint64_t
llvm::DataLayout::getTypeSizeInBits(llvm::Type *) const: Assertion
`Ty->isSized() && "Cannot getTypeInfo() on a type that is unsized!"' failed.
Backtrace:
#3 0x0000000000a05d99 in llvm::DataLayout::getTypeSizeInBits
(this=0x3dec3d8, Ty=0x3db2970)
at ../include/llvm/IR/DataLayout.h:533
#4 0x0000000000ebd754 in llvm::DemandedBits::getDemandedBits
(this=0x3de3190, I=0x3deeea8)
at ../lib/Analysis/DemandedBits.cpp:375
#5 0x0000000001c93200 in clearAssumptionsOfUsers (I=0x3deecd8, DB=...)
at ../lib/Transforms/Scalar/BDCE.cpp:51
--
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/20170816/349829ca/attachment.html>
More information about the llvm-bugs
mailing list