| 文件 | 最后提交记录 | 最后更新时间 |
|---|---|---|
[MLIR][Linalg] Remove elemwise_unary and elemwise_binary (#147082) RFC: https://discourse.llvm.org/t/rfc-deprecate-linalg-elemwise-unary-and-elemwise-binary/87144 Remove the two operations and fix the tests by: * Cleaning simple operation tests of the old ops * Changing linalg.elemwise_{u|bi}nary with linalg.{exp|add} on transform tests * Changing some of the tests with linalg.elementwise instead, to broaden test coverage * Surgically removing the elemwise_* part in the Python tests * Update MLIR transform examples (text and tests) with linalg.elementwise instead Nothing else changed. | 1 年前 | |
[MLIR][Python] Expose the insertion point of pattern rewriter (#161001) In [#160520](https://github.com/llvm/llvm-project/pull/160520), we discussed the current limitations of PDL rewriting in Python (see [this comment](https://github.com/llvm/llvm-project/pull/160520#issuecomment-3332326184)). At the moment, we cannot create new operations in PDL native (python) rewrite functions because the PatternRewriter APIs are not exposed. This PR introduces bindings to retrieve the insertion point of the PatternRewriter, enabling users to create new operations within Python rewrite functions. With this capability, more complex rewrites e.g. with branching and loops that involve op creations become possible. --------- Co-authored-by: Maksim Levental <maksim.levental@gmail.com> | 9 个月前 | |
[MLIR][Linalg] Re-land linalg.matmul move to ODS. + Remove/update failing obsolete OpDSL tests. (#115319) The earlier PR(https://github.com/llvm/llvm-project/pull/104783) which introduces transpose and broadcast semantic to linalg.matmul was reverted due to two failing OpDSL test for linalg.matmul. Since linalg.matmul is now defined using TableGen ODS instead of Python-based OpDSL, these test started failing and needs to be removed/updated. This commit removes/updates the failing obsolete tests from below files. All other files were part of earlier PR and just cherry picked. "mlir/test/python/integration/dialects/linalg/opsrun.py" "mlir/test/python/integration/dialects/transform.py" --------- Co-authored-by: Renato Golin <rengolin@systemcall.eu> | 1 年前 |
| 文件 | 最后提交记录 | 最后更新时间 |
|---|---|---|
| 1 年前 | ||
| 9 个月前 | ||
| 1 年前 |