<div dir="ltr">Sigh.<div>Yeah, this is from replacing std::stack, which defaults to deque, with SmallVector.</div><div>The upside is we don't have to pop one at a time, but the downside is it invalidates references.</div><div>Hopefully none others are hiding here.</div><div><br></div></div><div class="gmail_extra"><br><div class="gmail_quote">On Thu, Feb 9, 2017 at 1:43 AM, Vitaly Buka via Phabricator <span dir="ltr"><<a href="mailto:reviews@reviews.llvm.org" target="_blank">reviews@reviews.llvm.org</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">vitalybuka added inline comments.<br>
<br>
<br>
================<br>
Comment at: llvm/trunk/lib/Analysis/<wbr>LazyValueInfo.cpp:696<br>
<span class="">       // More work needs to be done before revisiting.<br>
-      assert(BlockValueStack.top() != e && "Stack should have been pushed!");<br>
+      assert(BlockValueStack.back() != e && "Stack should have been pushed!");<br>
     }<br>
</span>----------------<br>
MSAN reported invalid memory access which was fixed with <a href="https://reviews.llvm.org/rL294572" rel="noreferrer" target="_blank">https://reviews.llvm.org/<wbr>rL294572</a><br>
<div class="HOEnZb"><div class="h5"><br>
<br>
Repository:<br>
  rL LLVM<br>
<br>
<a href="https://reviews.llvm.org/D29715" rel="noreferrer" target="_blank">https://reviews.llvm.org/<wbr>D29715</a><br>
<br>
<br>
<br>
</div></div></blockquote></div><br></div>