diff options
| author | Marcello Maggioni <mmaggioni@apple.com> | 2019-10-28 09:15:52 -0700 |
|---|---|---|
| committer | Marcello Maggioni <mmaggioni@apple.com> | 2019-10-28 09:15:52 -0700 |
| commit | e4d6f1300fa2dd12d9d68fab2ded72c0e69b19ee (patch) | |
| tree | 36c4edcef8832a6c37a90c84c4e8d256cdec3d42 | |
| parent | bf21f0d489fb461a8eeb4d6342d28ed2c6e4048d (diff) | |
| download | bcm5719-llvm-e4d6f1300fa2dd12d9d68fab2ded72c0e69b19ee.tar.gz bcm5719-llvm-e4d6f1300fa2dd12d9d68fab2ded72c0e69b19ee.zip | |
[LiveIntervalUnion] Expose extraction of last index in map for external users
Differential Revision: https://reviews.llvm.org/D69515
| -rw-r--r-- | llvm/include/llvm/CodeGen/LiveIntervalUnion.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/llvm/include/llvm/CodeGen/LiveIntervalUnion.h b/llvm/include/llvm/CodeGen/LiveIntervalUnion.h index 05506d2c3bc..c555763a4ec 100644 --- a/llvm/include/llvm/CodeGen/LiveIntervalUnion.h +++ b/llvm/include/llvm/CodeGen/LiveIntervalUnion.h @@ -75,6 +75,7 @@ public: 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; |

