[mlir][transform] Clean up SplitHandlesOp
authorMatthias Springer <springerm@google.com>
Fri, 5 May 2023 13:18:23 +0000 (22:18 +0900)
committerMatthias Springer <springerm@google.com>
Fri, 5 May 2023 13:29:43 +0000 (22:29 +0900)
commit288529e730f8f225c96ec2f816cef94593bb61a8
tree203f29fa194bf3ecd7366cb0c09c031000f772ae
parent1b9d0deb6d53db760a91bcf63c9b2509f95af2bb
[mlir][transform] Clean up SplitHandlesOp

* Rename to `SplitHandleOp`: it splits a single handle.
* Drop `num_result_handles` attribute: it is redundant and can be inferred from the number of results.
* Improve documentation and minor code cleanups.

Differential Revision: https://reviews.llvm.org/D149937
mlir/include/mlir/Dialect/Transform/IR/TransformOps.td
mlir/lib/Dialect/Transform/IR/TransformOps.cpp
mlir/test/Dialect/Transform/test-interpreter.mlir