summaryrefslogtreecommitdiff
path: root/utils
diff options
context:
space:
mode:
authorAlex Zinenko <zinenko@google.com>2023-05-17 14:01:08 +0000
committerAlex Zinenko <zinenko@google.com>2023-05-17 15:10:12 +0000
commit2f3ac28cb2f7fc24c6ff742af571b58419c0adaa (patch)
tree7e7fc2378356b1f414c73141d3e081cd99629eaf /utils
parentcc1c1a55ea33e5f8278c70f1fb3b501bc07a3736 (diff)
downloadllvm-2f3ac28cb2f7fc24c6ff742af571b58419c0adaa.tar.gz
[mlir] don't hardcode PDL_Operation in Transform dialect extensions
Update operations in Transform dialect extensions defined in the Affine, GPU, MemRef and Tensor dialects to use the more generic `TransformHandleTypeInterface` type constraint instead of hardcoding `PDL_Operation`. See https://discourse.llvm.org/t/rfc-type-system-for-the-transform-dialect/65702 for motivation. Remove the dependency on PDLDialect from these extensions. Update tests to use `!transform.any_op` instead of `!pdl.operation`. Reviewed By: nicolasvasilache Differential Revision: https://reviews.llvm.org/D150781
Diffstat (limited to 'utils')
-rw-r--r--utils/bazel/llvm-project-overlay/mlir/BUILD.bazel9
1 files changed, 0 insertions, 9 deletions
diff --git a/utils/bazel/llvm-project-overlay/mlir/BUILD.bazel b/utils/bazel/llvm-project-overlay/mlir/BUILD.bazel
index 603716cd4747..1c0643380f2e 100644
--- a/utils/bazel/llvm-project-overlay/mlir/BUILD.bazel
+++ b/utils/bazel/llvm-project-overlay/mlir/BUILD.bazel
@@ -1210,7 +1210,6 @@ cc_library(
":AffineUtils",
":FuncDialect",
":IR",
- ":PDLDialect",
":TransformDialect",
":Transforms",
":VectorDialect",
@@ -4385,7 +4384,6 @@ td_library(
],
includes = ["include"],
deps = [
- ":PDLDialectTdFiles",
":TransformDialectTdFiles",
],
)
@@ -4430,7 +4428,6 @@ cc_library(
":GPUTransformOpsIncGen",
":GPUTransforms",
":IR",
- ":PDLDialect",
":Parser",
":SCFDialect",
":SideEffectInterfaces",
@@ -5920,7 +5917,6 @@ td_library(
],
includes = ["include"],
deps = [
- ":PDLDialect",
":TransformDialectTdFiles",
],
)
@@ -5953,7 +5949,6 @@ cc_library(
deps = [
":AffineDialect",
":IR",
- ":PDLDialect",
":SCFDialect",
":TensorDialect",
":TensorTransformOpsIncGen",
@@ -10682,7 +10677,6 @@ td_library(
],
includes = ["include"],
deps = [
- ":PDLDialect",
":TransformDialectTdFiles",
],
)
@@ -10721,7 +10715,6 @@ cc_library(
":MemRefTransformOpsIncGen",
":MemRefTransforms",
":NVGPUDialect",
- ":PDLDialect",
":SCFDialect",
":TransformDialect",
":TransformUtils",
@@ -10956,7 +10949,6 @@ td_library(
includes = ["include"],
deps = [
":BufferizationOpsTdFiles",
- ":PDLDialectTdFiles",
":TransformDialectTdFiles",
],
)
@@ -10997,7 +10989,6 @@ cc_library(
":BufferizationTransforms",
":IR",
":MemRefDialect",
- ":PDLDialect",
":Parser",
":SideEffectInterfaces",
":TensorDialect",