This is an archive of the discontinued LLVM Phabricator instance.

[LCSSA] Add expensive verification of LCSSA form for sub-loops.
ClosedPublic

Authored by fhahn on Jan 18 2019, 9:55 AM.

Details

Summary

This assertion makes sure all sub-loops are in LCSSA form before
bringing their parent in LCSSA form. This precondition was added to
formLCSSA in D56848.

Event Timeline

fhahn created this revision.Jan 18 2019, 9:55 AM

Yes, this was what I had in mind.

Just please make sure to run stage3 build and verify this doesn't break.

Just please make sure to run stage3 build and verify this doesn't break.

Done, 3 stage bootstrap build of llvm/clang/libcxx and testing passed with the assertion.

ping! Should we get this in?

davide accepted this revision.Jan 31 2019, 11:21 AM

LGTM.

This revision is now accepted and ready to land.Jan 31 2019, 11:21 AM
This revision was automatically updated to reflect the committed changes.
Herald added a project: Restricted Project. · View Herald TranscriptFeb 2 2019, 6:42 AM