[all-commits] [llvm/llvm-project] 471bd1: [mlir][func]-Add deduplicate funcOp arguments tran...

Amir Bishara via All-commits all-commits at lists.llvm.org
Mon Sep 15 05:30:16 PDT 2025


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: 471bd1745ef044a7ee58a4947bf06a7f56660502
      https://github.com/llvm/llvm-project/commit/471bd1745ef044a7ee58a4947bf06a7f56660502
  Author: Amir Bishara <139038766+amirBish at users.noreply.github.com>
  Date:   2025-09-15 (Mon, 15 Sep 2025)

  Changed paths:
    M mlir/include/mlir/Dialect/Func/TransformOps/FuncTransformOps.td
    M mlir/include/mlir/Dialect/Func/Utils/Utils.h
    M mlir/lib/Dialect/Func/TransformOps/FuncTransformOps.cpp
    M mlir/lib/Dialect/Func/Utils/Utils.cpp
    M mlir/test/Dialect/Func/func-transform-invalid.mlir
    M mlir/test/Dialect/Func/func-transform.mlir

  Log Message:
  -----------
  [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.



To unsubscribe from these emails, change your notification settings at https://github.com/llvm/llvm-project/settings/notifications


More information about the All-commits mailing list