Skip to content
This repository was archived by the owner on Jan 30, 2025. It is now read-only.

Tiling interface for slice op #77

Merged
merged 5 commits into from
Jun 28, 2024

Conversation

navahgar
Copy link
Contributor

@navahgar navahgar commented Jun 25, 2024

This PR adds an implementation of TilingInterface for the tcp.slice op. This is necessary to enable tile and fuse with tcp.slice.

@navahgar navahgar force-pushed the slice_tiling_interface branch from 418630d to 2d70c9a Compare June 26, 2024 19:46
@navahgar navahgar changed the title WIP: Slice tiling interface Tiling interface for slice op Jun 26, 2024
@navahgar navahgar marked this pull request as ready for review June 26, 2024 19:48
@navahgar navahgar requested a review from srinathava June 26, 2024 19:48
@navahgar navahgar force-pushed the slice_tiling_interface branch from 2031e91 to 41f7f0b Compare June 27, 2024 19:08
@navahgar navahgar requested a review from srinathava June 27, 2024 19:15
Copy link
Contributor

@srinathava srinathava left a 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,
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Copy link
Contributor Author

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.

@navahgar navahgar force-pushed the slice_tiling_interface branch from 41f7f0b to 20ff6d1 Compare June 27, 2024 19:45
@navahgar navahgar merged commit 3b93b03 into cruise-automation:main Jun 28, 2024
1 check passed
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Development

Successfully merging this pull request may close these issues.

3 participants