This is an archive of the discontinued LLVM Phabricator instance.

[CodeGen] Handle dead defs in LivePhysRegs::stepForward
Needs ReviewPublic

Authored by foad on Nov 2 2021, 6:56 AM.
This revision needs review, but there are no reviewers specified.

Details

Reviewers
None
Summary

LivePhysRegs::stepForward already handled killed uses by removing them
from the set of live registers. This patch makes it handle dead defs in
the same way.

This does not affect any current tests but is required for a forthcoming
change to use LivePhysRegs in ExpandPostRAPseudos.

Diff Detail