This is an archive of the discontinued LLVM Phabricator instance.

[Polly] [ScopInliner] Implement basic scop inlining pass.
ClosedPublic

Authored by bollu on Aug 17 2017, 8:06 AM.

Event Timeline

bollu created this revision.Aug 17 2017, 8:06 AM
grosser added inline comments.Aug 17 2017, 8:11 AM
lib/Transform/ScopInliner.cpp
48

Trim down includes!

56

empty lines

58

clang format

66

Remove empty line

98

Too many empty lines.

99

Debug code?

102

Empty line?

106

Empty line?

bollu updated this revision to Diff 111526.Aug 17 2017, 8:50 AM
  • [NFC] fix style comments, make ScopInliner check that -polly-allow-full-func is enabled
bollu updated this revision to Diff 111560.Aug 17 2017, 1:31 PM
  • [NFC] run through check-polly, slightly restructure code.
bollu updated this revision to Diff 111566.Aug 17 2017, 2:22 PM
  • [Bugfix, Debug] Actually skip declarations and add better debug prints.
bollu added inline comments.Aug 17 2017, 2:22 PM
lib/Transform/ScopInliner.cpp
81

Do we have a more sophisticated way of logging this? STATISTICS is one way, I guess.

bollu updated this revision to Diff 111569.Aug 17 2017, 2:41 PM
  • [NFC] remove metadata from tests
bollu marked 4 inline comments as done.Aug 17 2017, 2:43 PM
grosser accepted this revision.Aug 17 2017, 2:45 PM

Thank you!

lib/Transform/ScopInliner.cpp
46

Please reflow the comment.

This revision is now accepted and ready to land.Aug 17 2017, 2:45 PM
This revision was automatically updated to reflect the committed changes.