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

C++: Consider ArrayExpr with non-constant size expressions as a BufferAccess #12752

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

Conversation

gsingh93
Copy link
Contributor

@gsingh93 gsingh93 commented Apr 4, 2023

I noticed that buf[x] where x is not a constant was not being treated as a BufferAccess. I feel like this restriction is unnecessary, so I've removed it. Most queries with BufferAccess will likely call getSize(), which will filter these results out and so there will be no change there. But any queries that don't call getSize(), or are specifically looking for not exists(bufferAccess.getSize()), will have many more results.

@gsingh93 gsingh93 requested a review from a team as a code owner April 4, 2023 06:13
@github-actions github-actions bot added the C++ label Apr 4, 2023
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

1 participant