[MLIR][Transform] Consolidate the transform ops of get_parent_for and loop unroll...
authorAmy Wang <kai.ting.wang@huawei.com>
Wed, 30 Nov 2022 15:59:13 +0000 (10:59 -0500)
committerPrabhdeep Singh Soni <prabhdeep.singh.soni3@huawei.com>
Wed, 30 Nov 2022 16:07:44 +0000 (11:07 -0500)
commite4e64eaade9463974ce92e4ab5f04d8e7a699de5
tree19a9bcb049804d800b114a6e5b6d9f5ba815809c
parent43ead4ecd141b725c54a3015f6465bcfdd36d2d1
[MLIR][Transform] Consolidate the transform ops of get_parent_for and loop unroll from affine and scf dialects.

This patch consolidates the two transform ops from the affine dialect
and the scf dialect to avoid code duplication.

This is to address the review comments from
https://reviews.llvm.org/D137997.

The transform ops directory / file structure for the affine dialect is
kept for the purpose of forth-coming transform ops
for affine, but get_parent_for and unroll are removed.

Reviewed By: nicolasvasilache

Differential Revision: https://reviews.llvm.org/D138980
mlir/include/mlir/Dialect/Affine/TransformOps/AffineTransformOps.td
mlir/include/mlir/Dialect/SCF/TransformOps/SCFTransformOps.td
mlir/lib/Dialect/Affine/TransformOps/AffineTransformOps.cpp
mlir/lib/Dialect/SCF/TransformOps/SCFTransformOps.cpp
mlir/test/Dialect/Affine/transform-ops.mlir [deleted file]
mlir/test/Dialect/SCF/transform-ops.mlir