This is an archive of the discontinued LLVM Phabricator instance.

[Polly] [IslNodeBuilder] [NFC] Refactor materialization of loop induction variables of loops outside scops into a separate function.
ClosedPublic

Authored by bollu on Aug 4 2017, 7:18 AM.

Details

Summary

Currently, this functionality is duplicated and the filtering of loops thattakes place in getReferencesInSubtree is not documented. Add some documentation
and centralise the materlization of the loop induction variables.

Event Timeline

bollu created this revision.Aug 4 2017, 7:18 AM
bollu retitled this revision from [Polly] [IslNodeBuilder] [NFC] Refactor materialization of loop induction variables of loops outside scops into a separate function. Currently, this functionality is duplicated and the filtering of loops that takes place in... to [Polly] [IslNodeBuilder] [NFC] Refactor materialization of loop induction variables of loops outside scops into a separate function..Aug 4 2017, 7:43 AM
bollu edited the summary of this revision. (Show Details)
philip.pfaffe edited edge metadata.Aug 4 2017, 7:48 AM

Comments inline.

lib/CodeGen/IslNodeBuilder.cpp
317

contained

319

How are the Loops induction variables?

904

This requires documentation, and likely a static.

bollu marked an inline comment as done.Aug 4 2017, 7:53 AM
bollu updated this revision to Diff 109744.Aug 4 2017, 8:18 AM
  • [NFC] address phillip's comments
bollu added a comment.Aug 4 2017, 11:57 AM

@grosser- ping?

grosser accepted this revision.Aug 4 2017, 11:58 AM

LGTM.

This revision is now accepted and ready to land.Aug 4 2017, 11:58 AM
bollu added a comment.Aug 5 2017, 7:11 PM

Closed by rL310192. Not sure why Phab did not pick this up automatically, I had a Differential Revision: line in the commit.

bollu closed this revision.Aug 5 2017, 7:11 PM