This is an archive of the discontinued LLVM Phabricator instance.

Call verifyPreservedAnalysis in LoopPass even if loop is deleted
Needs ReviewPublic

Authored by meheff on Oct 10 2014, 11:40 AM.
This revision needs review, but all reviewers have resigned.

Details

Reviewers
dexonsmith
Summary

Unconditionally call verifyPreservedAnalysis after each loop pass. Previously this function was not called in the case where the loop was eliminated (such as if the loop is fully unrolled). However, we want to call verifyPreservedAnalysis in this case because preserved analysis such as LoopInfo may have been modified.

Diff Detail

Event Timeline

meheff updated this revision to Diff 14741.Oct 10 2014, 11:40 AM
meheff retitled this revision from to Call verifyPreservedAnalysis in LoopPass even if loop is deleted.
meheff updated this object.
meheff edited the test plan for this revision. (Show Details)
meheff added a reviewer: dexonsmith.
meheff added a subscriber: Unknown Object (MLST).
dexonsmith resigned from this revision.Aug 25 2019, 8:21 AM