[PATCH] D69515: [LiveIntervalUnion] Expose extraction of last index in map for external users

Phabricator via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Mon Oct 28 09:17:38 PDT 2019


This revision was automatically updated to reflect the committed changes.
Closed by commit rGe4d6f1300fa2: [LiveIntervalUnion] Expose extraction of last index in map for external users (authored by Marcello Maggioni <mmaggioni at apple.com>).

Repository:
  rG LLVM Github Monorepo

CHANGES SINCE LAST ACTION
  https://reviews.llvm.org/D69515/new/

https://reviews.llvm.org/D69515

Files:
  llvm/include/llvm/CodeGen/LiveIntervalUnion.h


Index: llvm/include/llvm/CodeGen/LiveIntervalUnion.h
===================================================================
--- llvm/include/llvm/CodeGen/LiveIntervalUnion.h
+++ llvm/include/llvm/CodeGen/LiveIntervalUnion.h
@@ -75,6 +75,7 @@
 
   bool empty() const { return Segments.empty(); }
   SlotIndex startIndex() const { return Segments.start(); }
+  SlotIndex endIndex() const { return Segments.stop(); }
 
   // Provide public access to the underlying map to allow overlap iteration.
   using Map = LiveSegments;


-------------- next part --------------
A non-text attachment was scrubbed...
Name: D69515.226679.patch
Type: text/x-patch
Size: 520 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20191028/a5e67932/attachment.bin>


More information about the llvm-commits mailing list