Skip to content

[flang][runtime] Optimize Descriptor::FixedStride() #151755

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

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

Conversation

klausler
Copy link
Contributor

@klausler klausler commented Aug 1, 2025

Put the common cases on fast paths, and don't depend on IsContiguous() in the general case path. Add a unit test, too.

@klausler klausler changed the title Faster fm [flang][runtime] Optimize Descriptor::FixedStride() Aug 1, 2025
@klausler klausler force-pushed the faster-fm branch 2 times, most recently from 71b302f to ed6a67e Compare August 1, 2025 23:48
Copy link

github-actions bot commented Aug 1, 2025

✅ With the latest revision this PR passed the C/C++ code formatter.

@klausler klausler force-pushed the faster-fm branch 2 times, most recently from 65480f5 to 830e939 Compare August 2, 2025 00:00
Put the common cases on fast paths, and don't depend on IsContiguous()
in the general case path.  Add a unit test, too.
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.

3 participants