Instead, use the builder and infer the return type based on the inner yield ops.
Also, fix uses that do not create the terminator as required for the callback builders.
Depends On D142049
Paths
| Differential D142056
[MLIR] Remove scf.if builder with explicit result types and callbacks ClosedPublic Authored by frgossen on Jan 18 2023, 1:53 PM.
Details Summary Instead, use the builder and infer the return type based on the inner yield ops. Depends On D142049
Diff Detail
Event TimelineThis revision is now accepted and ready to land.Jan 20 2023, 7:47 AM Closed by commit rG1125c5c0b2cf: [MLIR] Remove scf.if builder with explicit result types and callbacks (authored by frgossen). · Explain WhyJan 20 2023, 7:52 AM This revision was automatically updated to reflect the committed changes.
Revision Contents
Diff 490282 mlir/include/mlir/Dialect/SCF/IR/SCFOps.td
mlir/lib/Conversion/ShapeToStandard/ShapeToStandard.cpp
mlir/lib/Conversion/VectorToSCF/VectorToSCF.cpp
mlir/lib/Dialect/Async/Transforms/AsyncParallelFor.cpp
mlir/lib/Dialect/SCF/IR/SCF.cpp
mlir/lib/Dialect/Tensor/IR/TensorTilingInterfaceImpl.cpp
mlir/lib/Dialect/Tensor/Transforms/SplitPaddingPatterns.cpp
mlir/lib/Dialect/Vector/Transforms/VectorDistribute.cpp
mlir/lib/Dialect/Vector/Transforms/VectorTransferSplitRewritePatterns.cpp
|