Skip to content

Remove shapex.tie_shape from the inside of flow.dispatch.workgroups. - #4664

Merged
silvasean merged 1 commit into
iree-org:mainfrom
silvasean:kill-tie-shape-with-fire
Jan 29, 2021
Merged

silvasean merged 1 commit into
iree-org:mainfrom
silvasean:kill-tie-shape-with-fire

Conversation

@silvasean

Copy link
Copy Markdown
Contributor

Required suppressing shapex.tie_shape insertion in two places:

  • Add support for TieDynamicShapesPass to optionally not recurse into
    certain regions. Used in iree/compiler/Dialect/Flow/Transforms/Passes.cpp
  • Remove TieDynamicShapesPass from the backend when using linalg on
    tensors. See iree/compiler/Conversion/LinalgToLLVM/Passes.cpp.

Now that there are no shapex.tie_shape simplify LinalgLLVMBufferizePass.

Required suppressing shapex.tie_shape insertion in two places:
- Add support for TieDynamicShapesPass to optionally not recurse into
  certain regions. Used in `iree/compiler/Dialect/Flow/Transforms/Passes.cpp`
- Remove TieDynamicShapesPass from the backend when using linalg on
  tensors. See `iree/compiler/Conversion/LinalgToLLVM/Passes.cpp`.

Now that there are no shapex.tie_shape simplify LinalgLLVMBufferizePass.

@nicolasvasilache nicolasvasilache left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

As you could see I really wanted to kill tie_shape with fire in a bunch of places.
Thanks for tackling this, much better now!

@silvasean
silvasean merged commit e61496c into iree-org:main Jan 29, 2021
@not-jenni not-jenni mentioned this pull request Feb 1, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants