Skip to content

Fortran function like [WIP] - #3135

Draft
isaacaka wants to merge 3 commits into
mainfrom
fortran_function_like
Draft

Fortran function like [WIP]#3135
isaacaka wants to merge 3 commits into
mainfrom
fortran_function_like

Conversation

@isaacaka

Copy link
Copy Markdown
Collaborator

Extend function_like feature to Fortran

The logic can be reused across Clang, C and Fortran and avoid duplicating
target/name validation, enzyme_math attribution, and linkage preservation.
Recognize Flang marker calls, derive the function name from an
enzyme_math_* BIND(C) global, and pass the target and name to the
existing handleFunctionLike helper before removing the marker.
@isaacaka
isaacaka marked this pull request as draft August 10, 2026 15:30
@isaacaka isaacaka self-assigned this Aug 10, 2026
@isaacaka isaacaka changed the title Fortran function like Fortran function like [WIP] Aug 10, 2026
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.

1 participant