This is an archive of the discontinued LLVM Phabricator instance.

ScheduleDAGInstrs: Skip debug instructions at end of scheduling region
ClosedPublic

Authored by arsenm on Oct 15 2020, 9:25 AM.

Details

Summary

If the end instruction of the scheduling region was a DBG_VALUE, the
uses of the debug instruction were tracked as if they were real
uses. This would then hit the deadDefHasNoUse assertion in
addVRegDefDeps if the only use was the debug instruction.

Diff Detail

Event Timeline

arsenm created this revision.Oct 15 2020, 9:25 AM
Herald added a project: Restricted Project. · View Herald TranscriptOct 15 2020, 9:25 AM
arsenm requested review of this revision.Oct 15 2020, 9:25 AM
This revision is now accepted and ready to land.Oct 15 2020, 10:23 AM