summaryrefslogtreecommitdiff
path: root/mlir/lib/CAPI/Dialect/TransformInterpreter.cpp
diff options
context:
space:
mode:
authorOleksandr "Alex" Zinenko <zinenko@google.com>2024-03-20 22:15:17 +0100
committerGitHub <noreply@github.com>2024-03-20 22:15:17 +0100
commit5a9bdd85ee4d8527e2cedf44f3ce26ff414f9b6a (patch)
treecd4a1fb1de888a2290cf47b65b0f313f6acd12e0 /mlir/lib/CAPI/Dialect/TransformInterpreter.cpp
parentb7324b6a9c6bd43786ea853bf1a9730486b4bc88 (diff)
[mlir] split transform interfaces into a separate library (#85221)
Transform interfaces are implemented, direction or via extensions, in libraries belonging to multiple other dialects. Those dialects don't need to depend on the non-interface part of the transform dialect, which includes the growing number of ops and transitive dependency footprint. Split out the interfaces into a separate library. This in turn requires flipping the dependency from the interface on the dialect that has crept in because both co-existed in one library. The interface shouldn't depend on the transform dialect either. As a consequence of splitting, the capability of the interpreter to automatically walk the payload IR to identify payload ops of a certain kind based on the type used for the entry point symbol argument is disabled. This is a good move by itself as it simplifies the interpreter logic. This functionality can be trivially replaced by a `transform.structured.match` operation.
Diffstat (limited to 'mlir/lib/CAPI/Dialect/TransformInterpreter.cpp')
-rw-r--r--mlir/lib/CAPI/Dialect/TransformInterpreter.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/mlir/lib/CAPI/Dialect/TransformInterpreter.cpp b/mlir/lib/CAPI/Dialect/TransformInterpreter.cpp
index 6a2cfb235fcf..eb6951dc5584 100644
--- a/mlir/lib/CAPI/Dialect/TransformInterpreter.cpp
+++ b/mlir/lib/CAPI/Dialect/TransformInterpreter.cpp
@@ -15,7 +15,7 @@
#include "mlir/CAPI/IR.h"
#include "mlir/CAPI/Support.h"
#include "mlir/CAPI/Wrap.h"
-#include "mlir/Dialect/Transform/IR/TransformInterfaces.h"
+#include "mlir/Dialect/Transform/Interfaces/TransformInterfaces.h"
#include "mlir/Dialect/Transform/Transforms/TransformInterpreterUtils.h"
using namespace mlir;