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

PR #23181: Annotate loops: start, step, induction variable. #23208

Open
wants to merge 1 commit into
base: main
Choose a base branch
from

Conversation

copybara-service[bot]
Copy link

PR #23181: Annotate loops: start, step, induction variable.

Imported from GitHub PR #23181

Currently, we annotate while loops with a known trip count accordingly. This PR adds the start, step and induction variable so it's easy to see when a while loop is actually a for loop.

For the larger context see
main...jreiffers:xla:memcpy and the companion document
https://docs.google.com/document/d/1E2_Jt_Dw4VbPXPVktNWhtsDEtIpN-kurCMGGyvMV4JA/edit?tab=t.0.
Copybara import of the project:

--
a5f8f4e by Johannes Reifferscheid [email protected]:

Annotate loops: start, step, induction variable.

Currently, we annotate while loops with a known trip count accordingly.
This PR adds the start, step and induction variable so it's easy to see
when a while loop is actually a for loop.

For the larger context see
main...jreiffers:xla:memcpy and
the companion document
https://docs.google.com/document/d/1E2_Jt_Dw4VbPXPVktNWhtsDEtIpN-kurCMGGyvMV4JA/edit?tab=t.0.

Merging this change closes #23181

FUTURE_COPYBARA_INTEGRATE_REVIEW=#23181 from jreiffers:while-annotator a5f8f4e

@copybara-service copybara-service bot force-pushed the test_731860761 branch 4 times, most recently from aa19555 to e0b7e4c Compare February 28, 2025 21:36
Imported from GitHub PR #23181

Currently, we annotate while loops with a known trip count accordingly. This PR adds the start, step and induction variable so it's easy to see when a while loop is actually a for loop.

For the larger context see
main...jreiffers:xla:memcpy and the companion document
https://docs.google.com/document/d/1E2_Jt_Dw4VbPXPVktNWhtsDEtIpN-kurCMGGyvMV4JA/edit?tab=t.0.
Copybara import of the project:

--
a5f8f4e by Johannes Reifferscheid <[email protected]>:

Annotate loops: start, step, induction variable.

Currently, we annotate while loops with a known trip count accordingly.
This PR adds the start, step and induction variable so it's easy to see
when a while loop is actually a for loop.

For the larger context see
main...jreiffers:xla:memcpy and
the companion document
https://docs.google.com/document/d/1E2_Jt_Dw4VbPXPVktNWhtsDEtIpN-kurCMGGyvMV4JA/edit?tab=t.0.

Merging this change closes #23181

FUTURE_COPYBARA_INTEGRATE_REVIEW=#23181 from jreiffers:while-annotator a5f8f4e
PiperOrigin-RevId: 731860761
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