A conversion target is not needed. In a partial dialect conversion, ops are rewritten when possible. The dialect conversion succeeds if there are no illegal ops in the resulting IR.
Depends On: D157594
Paths
| Differential D157595
[mlir][transform] ApplyConversionPatternsOp: Make conversion target optional ClosedPublic Authored by springerm on Aug 10 2023, 2:46 AM.
Details Summary A conversion target is not needed. In a partial dialect conversion, ops are rewritten when possible. The dialect conversion succeeds if there are no illegal ops in the resulting IR. Depends On: D157594
Diff Detail
Event TimelineThis revision is now accepted and ready to land.Aug 10 2023, 3:09 AM This revision was landed with ongoing or failed builds.Aug 10 2023, 4:59 AM Closed by commit rG6ebeecf452fb: [mlir][transform] ApplyConversionPatternsOp: Make conversion target optional (authored by springerm). · Explain Why This revision was automatically updated to reflect the committed changes.
Revision Contents
Diff 548943 mlir/include/mlir/Dialect/Transform/IR/TransformOps.td
mlir/lib/Dialect/Transform/IR/TransformOps.cpp
mlir/test/Dialect/Transform/test-pattern-application.mlir
|