commit | 434ce69a321eab216cc57478a26a2e82bb83a7ce | [log] [tgz] |
---|---|---|
author | Han-Chung Wang <hanhan0912@gmail.com> | Thu Jul 24 13:55:07 2025 -0700 |
committer | Copybara-Service <copybara-worker@google.com> | Thu Jul 24 13:59:01 2025 -0700 |
tree | c53cb78b9022ca5bb112d4c7640edd38a877291f | |
parent | 9ac0293094f03c7af3f02f45b27d4fd4ce2d78c0 [diff] |
[mlir][linalg] Take artificial padding into account for pack/unpack folding. (#150272) The revision only folds the tensor.pad/extract_slice op into linalg.pack/unpack ops only when it is safe to fold. It is not valid to have artificial padding. The documentation improvement and verifier update will be done in a separate PR (i.e., https://github.com/llvm/llvm-project/pull/149624). The revision is a step towards it. --------- Signed-off-by: hanhanW <hanhan0912@gmail.com> GitOrigin-RevId: 1ff6d9daec66fb151b9691386c9dad0209648465
See https://mlir.llvm.org/ for more information.