[llvm-bugs] [Bug 51598] New: opt -enable-new-pm=1 -loop-load-elim -indvars -loop-distribute -enable-loop-distribute crashes with Assertion `Ptr != End && "dereferencing end() iterator"' failed.
via llvm-bugs
llvm-bugs at lists.llvm.org
Tue Aug 24 04:30:35 PDT 2021
https://bugs.llvm.org/show_bug.cgi?id=51598
Bug ID: 51598
Summary: opt -enable-new-pm=1 -loop-load-elim -indvars
-loop-distribute -enable-loop-distribute crashes with
Assertion `Ptr != End && "dereferencing end()
iterator"' failed.
Product: libraries
Version: trunk
Hardware: PC
OS: Linux
Status: NEW
Severity: enhancement
Priority: P
Component: Loop Optimizer
Assignee: unassignedbugs at nondot.org
Reporter: mikael.holmen at ericsson.com
CC: llvm-bugs at lists.llvm.org
Created attachment 25184
--> https://bugs.llvm.org/attachment.cgi?id=25184&action=edit
bbi-58974.ll reproducer
llvm commit ebf35370ff59
Reproduce with:
opt -enable-new-pm=1 -loop-load-elim -indvars -loop-distribute
-enable-loop-distribute -o /dev/null bbi-58974.ll
Result:
opt: ../include/llvm/ADT/DenseMap.h:1242: llvm::DenseMapIterator::pointer
llvm::DenseMapIterator<llvm::PointerIntPair<llvm::Value *, 1, bool,
llvm::PointerLikeTypeTraits<llvm::Value *>,
llvm::PointerIntPairInfo<llvm::Value *, 1,
llvm::PointerLikeTypeTraits<llvm::Value *> > >, std::vector<unsigned int,
std::allocator<unsigned int> >,
llvm::DenseMapInfo<llvm::PointerIntPair<llvm::Value *, 1, bool,
llvm::PointerLikeTypeTraits<llvm::Value *>,
llvm::PointerIntPairInfo<llvm::Value *, 1,
llvm::PointerLikeTypeTraits<llvm::Value *> > > >,
llvm::detail::DenseMapPair<llvm::PointerIntPair<llvm::Value *, 1, bool,
llvm::PointerLikeTypeTraits<llvm::Value *>,
llvm::PointerIntPairInfo<llvm::Value *, 1,
llvm::PointerLikeTypeTraits<llvm::Value *> > >, std::vector<unsigned int,
std::allocator<unsigned int> > >, true>::operator->() const [KeyT =
llvm::PointerIntPair<llvm::Value *, 1, bool,
llvm::PointerLikeTypeTraits<llvm::Value *>,
llvm::PointerIntPairInfo<llvm::Value *, 1,
llvm::PointerLikeTypeTraits<llvm::Value *> > >, ValueT = std::vector<unsigned
int, std::allocator<unsigned int> >, KeyInfoT =
llvm::DenseMapInfo<llvm::PointerIntPair<llvm::Value *, 1, bool,
llvm::PointerLikeTypeTraits<llvm::Value *>,
llvm::PointerIntPairInfo<llvm::Value *, 1,
llvm::PointerLikeTypeTraits<llvm::Value *> > > >, Bucket =
llvm::detail::DenseMapPair<llvm::PointerIntPair<llvm::Value *, 1, bool,
llvm::PointerLikeTypeTraits<llvm::Value *>,
llvm::PointerIntPairInfo<llvm::Value *, 1,
llvm::PointerLikeTypeTraits<llvm::Value *> > >, std::vector<unsigned int,
std::allocator<unsigned int> > >, IsConst = true]: Assertion `Ptr != End &&
"dereferencing end() iterator"' failed.
--
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/20210824/2278b422/attachment.html>
More information about the llvm-bugs
mailing list