This is an archive of the discontinued LLVM Phabricator instance.

RegisterCoalescer: Handle implicit-def of a super register when rematerializing
ClosedPublic

Authored by arsenm on Jul 26 2023, 6:46 AM.

Details

Summary

Permit an implicit-def of a virtual register when rematerializing if
it defines a super register of a subregister def. The
rematerialization pre-legality check should really have been checking
the implicit operands, but that should be fixed separately.

Diff Detail