aboutsummaryrefslogtreecommitdiff
path: root/mlir
diff options
context:
space:
mode:
authorIngo Müller <ingomueller@google.com>2023-07-20 10:13:55 +0000
committerIngo Müller <ingomueller@google.com>2023-07-20 14:20:45 +0000
commitf62cb13fb285bfce1135be73afb9d2f1c731012b (patch)
tree91326cf4291d89915c7728f0cf9274ae0221d397 /mlir
parent5f4f9220f9d2f0163b330e4a2e2a60ea8a917378 (diff)
downloadllvm-f62cb13fb285bfce1135be73afb9d2f1c731012b.zip
llvm-f62cb13fb285bfce1135be73afb9d2f1c731012b.tar.gz
llvm-f62cb13fb285bfce1135be73afb9d2f1c731012b.tar.bz2
[mlir][linalg][transform] Rename ApplyPatternsOp.{region => patterns}.
This gives the region a more meaningful name. The topic came up in a discussion on https://reviews.llvm.org/D155435, where the name `region` would have led to a situation where a convenience accessor called `region` (after the ODS name) would have returned a Block. Reviewed By: ftynse Differential Revision: https://reviews.llvm.org/D155810
Diffstat (limited to 'mlir')
-rw-r--r--mlir/include/mlir/Dialect/Transform/IR/TransformOps.td4
1 files changed, 2 insertions, 2 deletions
diff --git a/mlir/include/mlir/Dialect/Transform/IR/TransformOps.td b/mlir/include/mlir/Dialect/Transform/IR/TransformOps.td
index 6820f3c..37312e8 100644
--- a/mlir/include/mlir/Dialect/Transform/IR/TransformOps.td
+++ b/mlir/include/mlir/Dialect/Transform/IR/TransformOps.td
@@ -190,9 +190,9 @@ def ApplyPatternsOp : TransformDialectOp<"apply_patterns",
let arguments = (ins
TransformHandleTypeInterface:$target);
let results = (outs);
- let regions = (region MaxSizedRegion<1>:$region);
+ let regions = (region MaxSizedRegion<1>:$patterns);
- let assemblyFormat = "`to` $target $region attr-dict `:` type($target)";
+ let assemblyFormat = "`to` $target $patterns attr-dict `:` type($target)";
let hasVerifier = 1;
let skipDefaultBuilders = 1;