We add a ScopInliner pass which inlines functions based on a simple heuristic:
Let g call f.
If we can model all of f as a Scop, we inline f into g.
Paths
| Differential D36832
[Polly] [ScopInliner] Implement basic scop inlining pass. ClosedPublic Authored by bollu on Aug 17 2017, 8:06 AM.
Details
Summary We add a ScopInliner pass which inlines functions based on a simple heuristic: Let g call f.
Diff Detail
Event TimelineComment Actions
This revision is now accepted and ready to land.Aug 17 2017, 2:45 PM Closed by commit rL311126: [ScopInliner] Add a simple Scop-based inliner to polly. (authored by bollu). · Explain WhyAug 17 2017, 2:58 PM This revision was automatically updated to reflect the committed changes.
Revision Contents
Diff 111519 include/polly/LinkAllPasses.h
lib/CMakeLists.txt
lib/Support/RegisterPasses.cpp
lib/Transform/ScopInliner.cpp
test/ScopInliner/inline-fn-call-in-loop.ll
|
Trim down includes!