This is an archive of the discontinued LLVM Phabricator instance.

[LoopDeletion] Check for irreducible cycles when deleting loops.
ClosedPublic

Authored by fhahn on Jun 14 2021, 9:49 AM.

Details

Summary

Loops with irreducible cycles may loop infinitely. Those cannot be
removed, unless the loop/function is marked as mustprogress.

Also discussed in D103382.

Diff Detail

Unit TestsFailed

Event Timeline

fhahn created this revision.Jun 14 2021, 9:49 AM
fhahn requested review of this revision.Jun 14 2021, 9:49 AM
Herald added a project: Restricted Project. · View Herald TranscriptJun 14 2021, 9:49 AM
nikic accepted this revision.Jun 14 2021, 12:53 PM

LGTM

This revision is now accepted and ready to land.Jun 14 2021, 12:53 PM

See clang-format suggestion, otherwise LGTM.

This revision was landed with ongoing or failed builds.Jun 15 2021, 4:56 AM
This revision was automatically updated to reflect the committed changes.