[PATCH] Add a 'covers' operation to LiveRange

Andrew Trick atrick at apple.com
Mon Oct 7 14:34:56 PDT 2013


On Oct 7, 2013, at 1:57 PM, Matthias Braun <mbraun at apple.com> wrote:

> <Add-a-covers-operation-to-LiveRange.patch>

+  const_iterator I = begin();
+  for (const_iterator O = Other.begin(), OE = Other.end(); O != OE; ++O) {
+    I = advanceTo(I, O->start);

Is it possible for advanceTo to return end() here?

-Andy



More information about the llvm-commits mailing list