[PATCH] D100296: [Live Intervals] Teach Greedy RA to recognize special case live-through

Serguei Katkov via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Tue Apr 13 20:28:25 PDT 2021


skatkov added inline comments.


================
Comment at: llvm/lib/CodeGen/LiveIntervals.cpp:958
+        if (hasLiveThroughUse(MI, LI.reg()))
+          CollectRegMask(SlotI - Slots.begin());
     // *SlotI is beyond the current LI segment.
----------------
Some compilation time save.
if we processed SlotI we can move it forward.


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

https://reviews.llvm.org/D100296



More information about the llvm-commits mailing list