Unverified Commit 60e562d1 authored by Quinn Dawkins's avatar Quinn Dawkins Committed by GitHub
Browse files

[mlir][linalg] Add unit dim folding pattern for tensor.pad (#84684)

Unit extent dims that are not padded by a tensor.pad can be folded away.
When folding unit extent dims of surrounding linalg ops, this increases
the chance that the iteration space of the linalg op will align with
nearby pad ops, improving fusion opportunities.
parent c93c76b5
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment