commit | 768106e9db1ea1f1e64a06550156c9ded921d901 | [log] [tgz] |
---|---|---|
author | Amir Bishara <139038766+amirBish@users.noreply.github.com> | Mon Sep 15 15:29:54 2025 +0300 |
committer | Copybara-Service <copybara-worker@google.com> | Mon Sep 15 08:02:15 2025 -0700 |
tree | 8cc37707eb15c701fd4e737379167de2a4bb9466 | |
parent | ed6bdf977de8e7d1e2d5638cd1816f1322dadb18 [diff] |
[mlir][func]-Add deduplicate funcOp arguments transform (#158266) This PR adds a new transform operation which removes the duplicate arguments from the function operation based on the callOp of this function. To have a more simple implementation for now, the transform will fail when having multiple callOps for the same function we want to eliminate the different arguments from. This pull request also adpat the utils under the func dialect to be reusable also for this transformOp. GitOrigin-RevId: 471bd1745ef044a7ee58a4947bf06a7f56660502
See https://mlir.llvm.org/ for more information.