[all-commits] [llvm/llvm-project] e2d39f: [mlir][Transform] Add `updateConversionTarget` to ...
Chris via All-commits
all-commits at lists.llvm.org
Thu Sep 14 10:40:05 PDT 2023
Branch: refs/heads/main
Home: https://github.com/llvm/llvm-project
Commit: e2d39f799bc8d4a37245a6ac1975c6831dcb6f66
https://github.com/llvm/llvm-project/commit/e2d39f799bc8d4a37245a6ac1975c6831dcb6f66
Author: Christopher Bate <cbate at nvidia.com>
Date: 2023-09-14 (Thu, 14 Sep 2023)
Changed paths:
M mlir/include/mlir/Dialect/SCF/TransformOps/SCFTransformOps.td
M mlir/include/mlir/Dialect/SCF/Transforms/Patterns.h
M mlir/include/mlir/Dialect/Transform/IR/TransformInterfaces.td
M mlir/lib/Dialect/SCF/TransformOps/SCFTransformOps.cpp
M mlir/lib/Dialect/SCF/Transforms/StructuralTypeConversions.cpp
M mlir/lib/Dialect/Transform/IR/TransformOps.cpp
M mlir/test/Dialect/SCF/transform-ops.mlir
M mlir/test/lib/Dialect/Transform/TestTransformDialectExtension.cpp
Log Message:
-----------
[mlir][Transform] Add `updateConversionTarget` to `ConversionPatternDescriptorOpInterface`
This change adds a method to modify the ConversionTarget used during
`transform.apply_conversion_patterns` to the
`ConversionPatternDescriptorOpInterface`. This is needed when the TypeConverter
is used to dictate the dynamic legality of operations, as in "structural"
conversion patterns present in, for example, the SCF and func dialects.
As a first use case/test, this change also adds a
`transform.apply_patterns.scf.structural_conversions` operation to the SCF
dialect.
Reviewed By: springerm
Differential Revision: https://reviews.llvm.org/D158672
More information about the All-commits
mailing list