<html>
<head>
<base href="https://bugs.llvm.org/">
</head>
<body><table border="1" cellspacing="0" cellpadding="8">
<tr>
<th>Bug ID</th>
<td><a class="bz_bug_link
bz_status_NEW "
title="NEW - opt -enable-new-pm=1 -loop-load-elim -indvars -loop-distribute -enable-loop-distribute crashes with Assertion `Ptr != End && "dereferencing end() iterator"' failed."
href="https://bugs.llvm.org/show_bug.cgi?id=51598">51598</a>
</td>
</tr>
<tr>
<th>Summary</th>
<td>opt -enable-new-pm=1 -loop-load-elim -indvars -loop-distribute -enable-loop-distribute crashes with Assertion `Ptr != End && "dereferencing end() iterator"' failed.
</td>
</tr>
<tr>
<th>Product</th>
<td>libraries
</td>
</tr>
<tr>
<th>Version</th>
<td>trunk
</td>
</tr>
<tr>
<th>Hardware</th>
<td>PC
</td>
</tr>
<tr>
<th>OS</th>
<td>Linux
</td>
</tr>
<tr>
<th>Status</th>
<td>NEW
</td>
</tr>
<tr>
<th>Severity</th>
<td>enhancement
</td>
</tr>
<tr>
<th>Priority</th>
<td>P
</td>
</tr>
<tr>
<th>Component</th>
<td>Loop Optimizer
</td>
</tr>
<tr>
<th>Assignee</th>
<td>unassignedbugs@nondot.org
</td>
</tr>
<tr>
<th>Reporter</th>
<td>mikael.holmen@ericsson.com
</td>
</tr>
<tr>
<th>CC</th>
<td>llvm-bugs@lists.llvm.org
</td>
</tr></table>
<p>
<div>
<pre>Created <span class=""><a href="attachment.cgi?id=25184" name="attach_25184" title="bbi-58974.ll reproducer">attachment 25184</a> <a href="attachment.cgi?id=25184&action=edit" title="bbi-58974.ll reproducer">[details]</a></span>
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.</pre>
</div>
</p>
<hr>
<span>You are receiving this mail because:</span>
<ul>
<li>You are on the CC list for the bug.</li>
</ul>
</body>
</html>