summaryrefslogtreecommitdiff
path: root/utils
diff options
context:
space:
mode:
authorAlex Zinenko <zinenko@google.com>2023-02-21 21:04:00 +0000
committerAlex Zinenko <zinenko@google.com>2023-05-16 08:16:56 +0000
commit2fe4d90cac54bf35948bea2ca6d5d8c510f6a1b4 (patch)
tree2e22324deee5b3e04182bbe0db07edecc5f8d118 /utils
parentaf0121fb8f793e5142d445cc2192e5c4a33bb21f (diff)
downloadllvm-2fe4d90cac54bf35948bea2ca6d5d8c510f6a1b4.tar.gz
[mlir] make structured transform ops use types
Types have been introduced a while ago and provide for better readability and transform-time verification. Use them in the ops from the structured transform dialect extension. In most cases, the types are appended as trailing functional types or a derived format of the functional type that allows for an empty right hand size without the annoying `-> ()` syntax (similarly to `func.func` declaration that may omit the arrow). When handles are used inside mixed static/dynamic lists, such as tile sizes, types of those handles follow them immediately as in `sizes [%0 : !transform.any_value, 42]`. This allows for better readability than matching the trailing type. Update code to remove hardcoded PDL dependencies and expunge PDL from structured transform op code. Reviewed By: nicolasvasilache Differential Revision: https://reviews.llvm.org/D144515
Diffstat (limited to 'utils')
-rw-r--r--utils/bazel/llvm-project-overlay/mlir/BUILD.bazel2
1 files changed, 0 insertions, 2 deletions
diff --git a/utils/bazel/llvm-project-overlay/mlir/BUILD.bazel b/utils/bazel/llvm-project-overlay/mlir/BUILD.bazel
index c661dd4decab..7595b4c51aa7 100644
--- a/utils/bazel/llvm-project-overlay/mlir/BUILD.bazel
+++ b/utils/bazel/llvm-project-overlay/mlir/BUILD.bazel
@@ -8573,7 +8573,6 @@ td_library(
]),
includes = ["include"],
deps = [
- ":PDLDialectTdFiles",
":SCFTdFiles",
":TransformDialectTdFiles",
],
@@ -8951,7 +8950,6 @@ cc_library(
":LinalgTransformOpsIncGen",
":LinalgTransforms",
":LinalgUtils",
- ":PDLDialect",
":SCFDialect",
":SCFTransforms",
":Support",