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.

Diff Detail

Repository
rL LLVM

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
47 ↗(On Diff #111519)

Trim down includes!

55 ↗(On Diff #111519)

empty lines

57 ↗(On Diff #111519)

clang format

65 ↗(On Diff #111519)

Remove empty line

97 ↗(On Diff #111519)

Too many empty lines.

98 ↗(On Diff #111519)

Debug code?

101 ↗(On Diff #111519)

Empty line?

105 ↗(On Diff #111519)

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
80 ↗(On Diff #111566)

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 ↗(On Diff #111569)

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.