[llvm] [PHIElimination] Handle subranges in LiveInterval updates (PR #69429)

Carl Ritson via llvm-commits llvm-commits at lists.llvm.org
Tue Oct 31 01:13:20 PDT 2023


================
@@ -563,13 +563,18 @@ VNInfo *LiveRange::extendInBlock(SlotIndex StartIdx, SlotIndex Kill) {
   return CalcLiveRangeUtilVector(this).extendInBlock(StartIdx, Kill);
 }
 
-/// Remove the specified segment from this range.  Note that the segment must
-/// be in a single Segment in its entirety.
+/// Remove the specified interval from this live range.
+/// Does nothing if interval is not part of this live range.
+/// Note that the interval must be within a single Segment in its entirety.
----------------
perlfu wrote:

Done.

https://github.com/llvm/llvm-project/pull/69429


More information about the llvm-commits mailing list