This is an archive of the discontinued LLVM Phabricator instance.

RA: Replace asserts related to empty live intervals
ClosedPublic

Authored by arsenm on Jul 24 2017, 9:38 AM.

Details

Summary

These don't exactly assert the same thing anymore, and
allow empty live intervals with non-empty uses.

Diff Detail

Event Timeline

arsenm created this revision.Jul 24 2017, 9:38 AM
arsenm updated this revision to Diff 107919.Jul 24 2017, 9:39 AM
qcolombet accepted this revision.Jul 24 2017, 10:12 AM

Hi Matt,

LGTM.

Thanks for doing this.
Quentin

This revision is now accepted and ready to land.Jul 24 2017, 10:12 AM
kparzysz edited edge metadata.Jul 24 2017, 11:07 AM

This made me wonder is the rewriter could handle "undef" uses (and just put the first physical register from an appropriate class), but I guess it doesn't really matter anymore.

arsenm closed this revision.Jul 24 2017, 11:08 AM

r308906