<div dir="ltr"><div class="gmail_extra"><div class="gmail_quote"><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><span class=""><br>
Comment at: lib/Transforms/Scalar/GVNSink.<wbr>cpp:75<br>
+<br>
+/// Iterates through instructions in a set of blocks in reverse order from the<br>
+/// first non-terminator. For example (assume all blocks have size n):<br>
----------------<br>
</span><span class="">dberlin wrote:<br>
> I'm not sure how easy/possible it is to do, but isn't this just a zip_iterator of a bunch of reverse iterators?<br>
><br>
</span>Similar; it'd be really cool to have something like zip_iterator in STLExtras. </blockquote><div><br>FWIW: We have it in iterator.h :)</div><div> </div><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">Although this does have some domain-specific utility functions, and doens't have undefined behaviour when the input iterators aren't of equal length :)<br>
<span class=""><br></span></blockquote><div>I didn't check if this is true, however.</div></div></div></div>