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

Cilk For-Range Loop #303

Merged
merged 6 commits into from
Jan 3, 2025
Merged

Cilk For-Range Loop #303

merged 6 commits into from
Jan 3, 2025

Conversation

eliecuevas
Copy link
Contributor

Co-Authored by arvid220u and sualehasif

Copy link
Collaborator

@neboat neboat 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 for submitting this PR! I'm super excited to add this new feature to Cilk, and I'm delighted to see this revival and fixup of PR #55.

This PR also gives us a great opportunity to work on our processes for accepting external contributions, which I appreciate!

I've done some simple tests of these Cilk for-range loops on my local system, and they seem to work well.

I have just a couple minor requests:

  • GitHub can annotate multiauthor commits in the history, but it needs the email addresses of the coauthors to do so. I believe that something like the following should work:
    Co-authored-by: Sualeh Asif <[email protected]>
    Co-authored-by: Arvid Lunnemark <[email protected]>
    
    Please update the Co-authored-by lines in the first commit with those email addresses. Hopefully GitHub will recognize the coauthors properly.
  • Please address the minor comments I've left on the code itself.

Once those are addressed, I'm happy to accept this PR. Please let me know if you have questions or concerns.

Thanks again!

clang/lib/CodeGen/CGCilk.cpp Outdated Show resolved Hide resolved
clang/lib/CodeGen/CGCilk.cpp Outdated Show resolved Hide resolved
clang/lib/Parse/ParseCilk.cpp Outdated Show resolved Hide resolved
clang/lib/CodeGen/CGCilk.cpp Outdated Show resolved Hide resolved
Copy link
Collaborator

@neboat neboat left a comment

Choose a reason for hiding this comment

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

These changes look good to me. Thanks!

@neboat neboat merged commit 7abc364 into OpenCilk:dev/18.x Jan 3, 2025
5 checks passed
@neboat neboat mentioned this pull request Jan 3, 2025
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