Utility to perform CallOp Dialect conversion, specifically handling cases where
an argument type has changed and the corresponding CallOp needs to be updated.
Details
Details
- Reviewers
rriddle - Commits
- rGcd1212deffbe: [mlir] Introduced CallOp Dialect Conversion
Diff Detail
Diff Detail
- Repository
- rG LLVM Github Monorepo
Event Timeline
Comment Actions
Looks good, just have a question about the location.
| mlir/include/mlir/Dialect/StandardOps/Transforms/DialectConversion.h | ||
|---|---|---|
| 1 ↗ | (On Diff #250899) | Would this make more sense in the Conversion directory? Say mlir/Conversion/StandardToStandard? |
| 9 ↗ | (On Diff #250899) | This seems like it should be updated, likely should just mention that it contains patterns for lowering within standard dialect. |
| 17 ↗ | (On Diff #250899) | I think we can trim all of these and just use forward declarations. |
| 29 ↗ | (On Diff #250899) | operand and result types? |
| mlir/lib/Dialect/StandardOps/Transforms/DialectConversion.cpp | ||
| 1 ↗ | (On Diff #250899) | Missing a file header here. |
| 6 ↗ | (On Diff #250899) | nit: prefer using namespace mlir in .cpp files |
| mlir/include/mlir/Dialect/StandardOps/Transforms/DialectConversion.h | ||
|---|---|---|
| 1 ↗ | (On Diff #250899) | Works for me. |
This needs to be updated.