[all-commits] [llvm/llvm-project] fc8484: [mlir][Transforms][NFC] Rename `MaterializationCal...

Matthias Springer via All-commits all-commits at lists.llvm.org
Wed May 7 23:22:59 PDT 2025


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

  Changed paths:
    M mlir/docs/DialectConversion.md
    M mlir/include/mlir/Transforms/DialectConversion.h
    M mlir/lib/Transforms/Utils/DialectConversion.cpp

  Log Message:
  -----------
  [mlir][Transforms][NFC] Rename `MaterializationCallbackFn` (#138814)

There are two kind of materialization callbacks: one for target
materializations and one for source materializations. The callback type
for target materializations is `TargetMaterializationCallbackFn`. This
commit renames the one for source materializations from
`MaterializationCallbackFn` to `SourceMaterializationCallbackFn`, for
consistency.

There used to be a single callback type for both kind of
materializations, but the materialization function signatures have
changed over time.

Also clean up a few places in the documentation that still referred to
argument materializations.



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