Page MenuHomePhabricator

LiveIntervals: Fix handleMoveUp with subreg def moving across a def
ClosedPublic

Authored by arsenm on Sep 27 2019, 11:04 AM.

Details

Summary

If a subregister def was moved across another subregister def and
another use, the main range was not correctly updated. The end point
of the moved interval ended too early and missed the use from theh
other lanes in the subreg def.

Diff Detail

Event Timeline

arsenm created this revision.Sep 27 2019, 11:04 AM
qcolombet accepted this revision.Oct 18 2019, 2:33 PM

LGTM.

lib/CodeGen/LiveIntervals.cpp
1299

s/to the where/to where/

This revision is now accepted and ready to land.Oct 18 2019, 2:33 PM
arsenm closed this revision.Oct 18 2019, 4:22 PM

r375300