This repository was archived by the owner on Jan 30, 2025. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 7
Tiling interface for slice op #77
Merged
navahgar
merged 5 commits into
cruise-automation:main
from
navahgar:slice_tiling_interface
Jun 28, 2024
Merged
Tiling interface for slice op #77
navahgar
merged 5 commits into
cruise-automation:main
from
navahgar:slice_tiling_interface
Jun 28, 2024
Conversation
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
418630d
to
2d70c9a
Compare
srinathava
reviewed
Jun 26, 2024
srinathava
reviewed
Jun 27, 2024
2031e91
to
41f7f0b
Compare
srinathava
approved these changes
Jun 27, 2024
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. Just a few nits.
|
||
namespace { | ||
|
||
Value getOpFoldResultAsValue(OpFoldResult ofr, OpBuilder &b, |
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.
This and its sibling below already exist upstream. See here:
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.
Thanks for pointing that out. I found some utils related to OpFoldResult
in https://sourcegraph.com/github.com/llvm/llvm-project@main/-/blob/mlir/include/mlir/Dialect/Utils/StaticValueUtils.h, but didn't realize there are more of these under arith
. Wonder why they are separate.
41f7f0b
to
20ff6d1
Compare
Sign up for free
to subscribe to this conversation on GitHub.
Already have an account?
Sign in.
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.
This PR adds an implementation of
TilingInterface
for thetcp.slice
op. This is necessary to enable tile and fuse withtcp.slice
.