[all-commits] [llvm/llvm-project] a4e452: [mlir][Transforms] Fix replaceUsesOfBlockArgument ...

Matthias Springer via All-commits all-commits at lists.llvm.org
Thu Jun 19 06:39:27 PDT 2025


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: a4e4527c4b44be9a88168c0a4758de58fd1a770d
      https://github.com/llvm/llvm-project/commit/a4e4527c4b44be9a88168c0a4758de58fd1a770d
  Author: Matthias Springer <me at m-sp.org>
  Date:   2025-06-19 (Thu, 19 Jun 2025)

  Changed paths:
    M mlir/lib/Conversion/FuncToLLVM/FuncToLLVM.cpp
    M mlir/lib/Transforms/Utils/DialectConversion.cpp

  Log Message:
  -----------
  [mlir][Transforms] Fix replaceUsesOfBlockArgument API (#144706)

Before this PR, users had to pass the "old" block argument when
replacing the uses of a block argument in a newly converted block. Users
can now pass the actual block argument that should be replaced.

Note for LLVM integration: Make sure to pass the current block argument
instead of the old one.



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