[PATCH] D62401: [AMDGPU] Speed up live-in virtual register set computaion in GCNScheduleDAGMILive

Matt Arsenault via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Fri May 24 09:18:20 PDT 2019


arsenm added inline comments.


================
Comment at: include/llvm/CodeGen/LiveInterval.h:608-627
+    /// Returns an array of indexes this LiveRange is live at.
+    /// R is a range of _ascending sorted_ _random_ access iterators
+    /// to the input indexes
+    template <typename Range>
+    std::vector<SlotIndex> findIndexesLiveAt(Range &&R) const {
+      std::vector<SlotIndex> IndexesLiveAt;
+      auto I = R.begin(), E = R.end();
----------------
This should be split into a separate patch


Repository:
  rL LLVM

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

https://reviews.llvm.org/D62401





More information about the llvm-commits mailing list