[all-commits] [llvm/llvm-project] 2ce655: [mlir][func] Fix multiple bugs in `DuplicateFuncti...

Longsheng Mou via All-commits all-commits at lists.llvm.org
Mon Oct 21 18:19:35 PDT 2024


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: 2ce655cf1b029481b88b48b409d7423472856b38
      https://github.com/llvm/llvm-project/commit/2ce655cf1b029481b88b48b409d7423472856b38
  Author: Longsheng Mou <moulongsheng at huawei.com>
  Date:   2024-10-22 (Tue, 22 Oct 2024)

  Changed paths:
    M mlir/lib/Dialect/Func/Transforms/DuplicateFunctionElimination.cpp
    M mlir/test/Dialect/Func/duplicate-function-elimination.mlir

  Log Message:
  -----------
  [mlir][func] Fix multiple bugs in `DuplicateFunctionElimination` (#109571)

This PR fixes multiple bugs in `DuplicateFunctionElimination`.
- Prevents elimination of function declarations.
- Updates all symbol uses to reference unique function representatives.

Fixes #93483.



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