[all-commits] [llvm/llvm-project] d04367: [mlir][func] Replace `ValueDecomposer` with target...

Matthias Springer via All-commits all-commits at lists.llvm.org
Wed Oct 30 15:26:33 PDT 2024


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: d043670d66ce7958aec7837ee572f3dc8948f11a
      https://github.com/llvm/llvm-project/commit/d043670d66ce7958aec7837ee572f3dc8948f11a
  Author: Matthias Springer <me at m-sp.org>
  Date:   2024-10-31 (Thu, 31 Oct 2024)

  Changed paths:
    M mlir/include/mlir/Dialect/Func/Transforms/DecomposeCallGraphTypes.h
    M mlir/lib/Dialect/Func/Transforms/DecomposeCallGraphTypes.cpp
    M mlir/test/lib/Dialect/Func/TestDecomposeCallGraphTypes.cpp

  Log Message:
  -----------
  [mlir][func] Replace `ValueDecomposer` with target materialization (#114192)

The `ValueDecomposer` in `DecomposeCallGraphTypes` was a workaround
around missing 1:N support in the dialect conversion. Since #113032, the
dialect conversion infrastructure supports 1:N type conversions and 1:N
target materializations. The `ValueDecomposer` class is no longer
needed. (However, target materializations must still be inserted
manually, until we fully merge the 1:1 and 1:N drivers.)

Note for LLVM integration: Register 1:N target materializations on the
type converter instead of "decompose value conversions" on the
`ValueDecomposer`.



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