Skip to content

Conversation

@vzakhari
Copy link
Contributor

I want to be able to check if the storage is contiguous
in the innermost dimension, so I decided to add an entry point
that takes dim as the number of leading dimensions to check.
It seems that a runtime call might result in less code size
even when dim is 1, so here it is.
For opt-for-speed I am going to inline it in FIR.

Depends on #131047.

I want to be able to check if the storage is contiguous
in the innermost dimension, so I decided to add an entry point
that takes `dim` as the number of leading dimensions to check.
It seems that a runtime call might result in less code size
even when `dim` is 1, so here it is.
For opt-for-speed I am going to inline it in FIR.

Depends on llvm#131047.
@vzakhari vzakhari requested review from jeanPerier and klausler March 13, 2025 01:07
@vzakhari vzakhari merged commit f326036 into llvm:main Mar 15, 2025
10 checks passed
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