Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Implement loop-based Fortran intrinsics #1394

Merged
merged 49 commits into from Nov 6, 2023
Merged

Conversation

mcopik
Copy link
Contributor

@mcopik mcopik commented Oct 13, 2023

This PR contributes the missing intrinsic to the Fortran frontend that requires a loop-based implementation. Furthermore, it also reorganizes the implementation of existing intrinsics, moves to a separate module, increases code reuse, and adds more tests.

This PR depends on #1390 - it needs to be merged first.

Intrinsics:

  • SUM
  • ANY
  • ALL
  • MINVAL
  • MAXVAL
  • COUNT
  • MERGE
  • PRODUCT

@mcopik mcopik added the fortran label Oct 13, 2023
@mcopik mcopik marked this pull request as ready for review October 19, 2023 18:47
@mcopik mcopik requested a review from acalotoiu October 19, 2023 23:39
@mcopik
Copy link
Contributor Author

mcopik commented Oct 19, 2023

@acalotoiu Please review - all of the loop-based intrinsic should now be ready. We also need to merge #1390 before this one.

Copy link
Contributor

@acalotoiu acalotoiu left a comment

Choose a reason for hiding this comment

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

Please resolve the conflict.

@mcopik
Copy link
Contributor Author

mcopik commented Nov 6, 2023

@acalotoiu Merge conflict is now resolved. It's ready to merge once tests pass.

@acalotoiu acalotoiu self-requested a review November 6, 2023 16:51
Copy link
Contributor

@acalotoiu acalotoiu left a comment

Choose a reason for hiding this comment

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

Thank you @mcopik ! LGTM!

@acalotoiu acalotoiu merged commit e748720 into master Nov 6, 2023
9 checks passed
@acalotoiu acalotoiu deleted the fortran_intrisincs branch November 6, 2023 23:21
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants