This is an archive of the discontinued LLVM Phabricator instance.

[LoopFlatten] FlattenInfo bookkeeping. NFC.
ClosedPublic

Authored by SjoerdMeijer on Oct 29 2020, 9:51 AM.

Details

Summary

Introduce struct FlattenInfo to group some of the bookkeeping. This is also separated out from D88880, and besides of this being a bit of a clean-up, it is a prep step for next additions. I could take things a bit further, and move things into member functions, but thought this was a good first step also not to make this change too large.

Diff Detail

Event Timeline

SjoerdMeijer created this revision.Oct 29 2020, 9:51 AM
Herald added a project: Restricted Project. · View Herald TranscriptOct 29 2020, 9:51 AM
Herald added a subscriber: hiraditya. · View Herald Transcript
SjoerdMeijer requested review of this revision.Oct 29 2020, 9:51 AM
dmgreen accepted this revision.Nov 5 2020, 2:21 AM

Yeah sure. Looks like this helps. LGTM

This revision is now accepted and ready to land.Nov 5 2020, 2:21 AM
This revision was automatically updated to reflect the committed changes.