llvm-project
b46edf72 - [RegisterCoalescer] Fix LiveRange::overlaps assert on empty interval (#194771)

Commit
6 days ago
[RegisterCoalescer] Fix LiveRange::overlaps assert on empty interval (#194771) Make the empty-range check in LiveRange::overlaps() symmetric by also checking this->empty(), not just other.empty(). This prevents an assertion failure in overlapsFrom() when applyTerminalRule encounters a virtual register with no definition and thus an empty live interval.
Parents
Loading