HomePhabricator

[RegisterCoalescer] Extend a subrange if needed when filling range gap

Authored by kparzysz on Apr 15 2020, 3:09 PM.

Description

[RegisterCoalescer] Extend a subrange if needed when filling range gap

Register live ranges may have had gaps that after coalescing should be
removed. This is done by adding a new segment to the range, and merging
it with neighboring segments. When doing so, do not assume that each
subrange of the register ended at the same index. If a subrange ended
earlier, adding this segment could make the live range invalid.
Instead, if the subrange is not live at the start of the segment,
extend it first.

Details

Committed
kparzyszMay 4 2020, 2:49 PM
Parents
rG9e3549804672: [lldb/Expression] Make Language() const, NFC
Branches
Unknown
Tags
Unknown