[PATCH] D150112: [Transform] Support more case for the transform pad operation

Quentin Colombet via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Mon May 8 05:27:22 PDT 2023


qcolombet created this revision.
qcolombet added reviewers: ftynse, nicolasvasilache.
qcolombet added a project: MLIR.
Herald added subscribers: bviyer, Moerafaat, zero9178, bzcheeseman, awarzynski, sdasgup3, wenzhicui, wrengr, jsetoain, cota, mravishankar, teijeong, rdzhabarov, tatianashp, msifontes, jurahul, Kayjukh, grosul1, Joonsoo, liufengdb, aartbik, mgester, arpith-jacob, antiagainst, shauheen, rriddle, mehdi_amini.
Herald added a project: All.
qcolombet requested review of this revision.
Herald added a subscriber: stephenneuendorffer.

Don't choke on `outs` arguments that are not produced by `tensor.empty` or
`tensor.extract_slice`.

When the `outs` argument has a static shape we have all the necessary
information to proceed with the padding.

This makes the `transform.structured.pad` a little bit more resilient.


Repository:
  rG LLVM Github Monorepo

https://reviews.llvm.org/D150112

Files:
  mlir/lib/Dialect/Linalg/Transforms/Transforms.cpp
  mlir/test/Dialect/Linalg/transform-op-pad.mlir

-------------- next part --------------
A non-text attachment was scrubbed...
Name: D150112.520334.patch
Type: text/x-patch
Size: 5774 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20230508/278af7a3/attachment.bin>


More information about the llvm-commits mailing list