[all-commits] [llvm/llvm-project] 9f724d: Fix Bug in RemoveDeadValues Pass (#148437)

ronigoldman22 via All-commits all-commits at lists.llvm.org
Thu Jul 24 17:24:25 PDT 2025


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: 9f724d04275df1f6bfd1e4346a9c69748d04ee7f
      https://github.com/llvm/llvm-project/commit/9f724d04275df1f6bfd1e4346a9c69748d04ee7f
  Author: ronigoldman22 <156088210+ronigoldman22 at users.noreply.github.com>
  Date:   2025-07-25 (Fri, 25 Jul 2025)

  Changed paths:
    M mlir/lib/Transforms/RemoveDeadValues.cpp
    M mlir/test/Transforms/remove-dead-values.mlir

  Log Message:
  -----------
  Fix Bug in RemoveDeadValues Pass (#148437)

This patch fixes a bug in the RemoveDeadValues pass where unused
function arguments were not removed from the function signature in an
edge case where the function returns void.
A corresponding test was added to the MLIR LIT test suite to cover this
case.



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