ecmwf-ifs / loki

Freely programmable source-to-source translation for Fortran
https://sites.ecmwf.int/docs/loki/
Apache License 2.0
29 stars 12 forks source link

InlineTransformation: Update Scheduler SGraph if marked_inline is activated #322

Closed awnawab closed 3 months ago

awnawab commented 3 months ago

Certain transformations (e.g. InlineTransformation) might create or delete callgraph edges without renaming or creating new items. Updating the sgraph in such cases requires only scheduler._discover to be triggered. This PR adds such an option to the Transformation class.

github-actions[bot] commented 3 months ago

Documentation for this branch can be viewed at https://sites.ecmwf.int/docs/loki/322/index.html

codecov[bot] commented 3 months ago

Codecov Report

All modified and coverable lines are covered by tests :white_check_mark:

Project coverage is 95.14%. Comparing base (77114a9) to head (f23fd4a). Report is 7 commits behind head on main.

Additional details and impacted files ```diff @@ Coverage Diff @@ ## main #322 +/- ## ======================================= Coverage 95.14% 95.14% ======================================= Files 167 167 Lines 35374 35398 +24 ======================================= + Hits 33657 33681 +24 Misses 1717 1717 ``` | [Flag](https://app.codecov.io/gh/ecmwf-ifs/loki/pull/322/flags?src=pr&el=flags&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=ecmwf-ifs) | Coverage Δ | | |---|---|---| | [lint_rules](https://app.codecov.io/gh/ecmwf-ifs/loki/pull/322/flags?src=pr&el=flag&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=ecmwf-ifs) | `96.38% <ø> (ø)` | | | [loki](https://app.codecov.io/gh/ecmwf-ifs/loki/pull/322/flags?src=pr&el=flag&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=ecmwf-ifs) | `95.12% <100.00%> (+<0.01%)` | :arrow_up: | Flags with carried forward coverage won't be shown. [Click here](https://docs.codecov.io/docs/carryforward-flags?utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=ecmwf-ifs#carryforward-flags-in-the-pull-request-comment) to find out more.

:umbrella: View full report in Codecov by Sentry.
:loudspeaker: Have feedback on the report? Share it here.