Skip to content

Schedule reverse_forw functions statically - #1438

Merged
vgvassilev merged 2 commits into
vgvassilev:masterfrom
PetroZarytskyi:rev_forw
Jul 6, 2025
Merged

Schedule reverse_forw functions statically#1438
vgvassilev merged 2 commits into
vgvassilev:masterfrom
PetroZarytskyi:rev_forw

Conversation

@PetroZarytskyi

Copy link
Copy Markdown
Collaborator

Before this PR, all reverse_forw functions were scheduled only dynamically. Now, they are always scheduled statically. Also, before the PR, generated functions were labeled _forw and the custom ones _reverse_forw. Now, all of them are labeled _reverse_forw.

Note: For now, constructor_reverse_forw are still scheduled dynamically because their signature is different from other reverse_forw: they have an extra parameter ConstructorReverseForwTag. We should probably consider removing.

Before this commit, generated functions were labeled `_forw` and the custom ones `_reverse_forw`. Now, all of them are labeled `_reverse_forw`.
@codecov

codecov Bot commented Jul 5, 2025

Copy link
Copy Markdown

Codecov Report

✅ All modified and coverable lines are covered by tests.

📢 Thoughts on this report? Let us know!

@github-actions

github-actions Bot commented Jul 5, 2025

Copy link
Copy Markdown
Contributor

clang-tidy review says "All clean, LGTM! 👍"

Before this PR, all `reverse_forw` functions were scheduled only dynamically. Now, they are always scheduled statically.
@github-actions

github-actions Bot commented Jul 6, 2025

Copy link
Copy Markdown
Contributor

clang-tidy review says "All clean, LGTM! 👍"

@vgvassilev vgvassilev left a comment

Copy link
Copy Markdown
Owner

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM!

@vgvassilev
vgvassilev merged commit 5df072d into vgvassilev:master Jul 6, 2025
88 checks passed
@PetroZarytskyi
PetroZarytskyi deleted the rev_forw branch July 6, 2025 08:15
PetroZarytskyi added a commit to PetroZarytskyi/clad that referenced this pull request Jul 6, 2025
…t the same time.

This PR addresses 2 problems that arose after that: a mismatch in the signature of a new custom `reverse_forw` and a new tape popping up in a test.
vgvassilev pushed a commit that referenced this pull request Jul 6, 2025
This PR addresses 2 problems that arose after that: a mismatch in the signature of a new custom `reverse_forw` and a new tape popping up in a test.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants