-
Notifications
You must be signed in to change notification settings - Fork 1.8k
C++: Add getSizeExpr and getSizeMult predicates to BufferAccess #12626
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
Conversation
LGTM once the discussions above are resolved. A very natural extension to the |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
CodeQL found more than 10 potential problems in the proposed changes. Check the Files changed tab for more details.
daa82a9
to
9dbba96
Compare
Added the QLDoc and the |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I also noticed there were no tests for BufferAccess
in library-tests
, let me know if I'm missing it or it really doesn't exist.
5738250
to
ad3324e
Compare
ad3324e
to
abec99b
Compare
Should be good to go now. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM! I took the liberty of adding a change note entry to make CI happy. I hope that's alright :)
Adds the
getSizeExpr
predicate toBufferAccess
, which returns theExpr
corresponding to the size of the buffer access. This is useful asgetSize()
will only have a result if the size is a constant.Fixes #12597