This is an archive of the discontinued LLVM Phabricator instance.

llvm-reduce: Remove okToRemove logic in block reduction
ClosedPublic

Authored by arsenm on Oct 18 2022, 4:55 PM.

Details

Summary

This was making decisions based on BBsToDelete, while being
used to determine BBsToDelete which doesn't really work.
Additionally, this is a lot of logic just to avoid deleting
the entry block when we can just skip it.

Diff Detail

Event Timeline

arsenm created this revision.Oct 18 2022, 4:55 PM
Herald added a project: Restricted Project. · View Herald TranscriptOct 18 2022, 4:55 PM
arsenm requested review of this revision.Oct 18 2022, 4:55 PM
Herald added a project: Restricted Project. · View Herald TranscriptOct 18 2022, 4:55 PM
Herald added a subscriber: wdng. · View Herald Transcript
aeubanks accepted this revision.Oct 21 2022, 4:30 PM
This revision is now accepted and ready to land.Oct 21 2022, 4:30 PM