Loops with irreducible cycles may loop infinitely. Those cannot be
removed, unless the loop/function is marked as mustprogress.
Also discussed in D103382.
Paths
| Differential D104238
[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 Also discussed in D103382.
Diff Detail
Event TimelineThis revision is now accepted and ready to land.Jun 14 2021, 12:53 PM This revision was landed with ongoing or failed builds.Jun 15 2021, 4:56 AM Closed by commit rGf7fc8927c088: [LoopDeletion] Check for irreducible cycles when deleting loops. (authored by fhahn). · Explain Why This revision was automatically updated to reflect the committed changes.
Revision Contents
Diff 352096 llvm/lib/Transforms/Scalar/LoopDeletion.cpp
llvm/test/Transforms/LoopDeletion/loops-with-irreducible-subloops.ll
|