Repository navigation
[NFC][Codegen] Rename early bufferization op operands - #20874
Merged
Max191 merged 1 commit intoMay 21, 2025
Merged
Conversation
hanhanW
reviewed
May 21, 2025
hanhanW
left a comment
Contributor
There was a problem hiding this comment.
Is buffer better than memref? I think recently upstream had a similar change.
Contributor
Author
I like that idea, I'll change it to buffer! |
Signed-off-by: Max Dawkins <[email protected]>
Max191
force-pushed
the
rename-early-bufferization-op-operands
branch
from
May 21, 2025 19:30
7739902 to
37655aa
Compare
hanhanW
approved these changes
May 21, 2025
hanhanW
left a comment
Contributor
There was a problem hiding this comment.
Please update the PR description before you land it. LGTM!
ziereis
pushed a commit
to ziereis/iree
that referenced
this pull request
May 22, 2025
Rename the operands of the iree_codegen.load_from_memref/store_to_memref ops to make them more aligned with each other. This improves readability, and makes writing templated patterns easier. - `iree_codegen.load_from_memref`: rename `source -> buffer`, and `result -> tensor` - `iree_codegen.store_to_memref`: rename `target -> buffer`, and `value -> tensor` Signed-off-by: Max Dawkins <[email protected]> Signed-off-by: Thomas Ziereis <[email protected]>
Contributor
|
I have a second thought after I saw that you land the PR. Do we rename the operation name for consistency?
|
Contributor
Author
Sure, I can send a followup. |
AWoloszyn
pushed a commit
that referenced
this pull request
Dec 1, 2025
Rename the operands of the iree_codegen.load_from_memref/store_to_memref ops to make them more aligned with each other. This improves readability, and makes writing templated patterns easier. - `iree_codegen.load_from_memref`: rename `source -> buffer`, and `result -> tensor` - `iree_codegen.store_to_memref`: rename `target -> buffer`, and `value -> tensor` Signed-off-by: Max Dawkins <[email protected]>
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Rename the operands of the iree_codegen.load_from_memref/store_to_memref ops to make them more aligned with each other. This improves readability, and makes writing templated patterns easier.
iree_codegen.load_from_memref: renamesource -> buffer, andresult -> tensoriree_codegen.store_to_memref: renametarget -> buffer, andvalue -> tensor